CVE-2008-0249

PHP Webquest 2.6 - Unauthenticated Database Credential Exposure via Direct Request to admin/backup_phpwebquest.php

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-0249. PoCs published by MhZ91.

AI-analyzed exploit summary This exploit targets PHP Webquest 2.6 by accessing the backup_phpwebquest.php file, which leaks database credentials in an error message when the system() function is enabled. The credentials are exposed in the command output of a mysqldump operation.

Description

PHP Webquest 2.6 allows remote attackers to retrieve database credentials via a direct request to admin/backup_phpwebquest.php, which leaks the credentials in an error message if a call to /usr/bin/mysqldump fails. NOTE: this might only be an issue in limited environments.

Exploits (1)

exploitdb WORKING POC VERIFIED
by MhZ91 · textwebappsphp
https://www.exploit-db.com/exploits/4872

This exploit targets PHP Webquest 2.6 by accessing the backup_phpwebquest.php file, which leaks database credentials in an error message when the system() function is enabled. The credentials are exposed in the command output of a mysqldump operation.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: PHP Webquest 2.6
No auth needed
Prerequisites: system() function enabled on the server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/27202
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4872
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/39572

Scores

EPSS 0.0259
EPSS Percentile 83.2%

Details

CWE
CWE-200
Status published
Products (1)
phpwebquest/phpwebquest 2.6
Published Jan 12, 2008
Tracked Since Feb 18, 2026