Vulnerability in PHP
CVE-2007-3997
The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.138, 96.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- php-localinfile-mysql-security-bypass(39402) (Third Party Advisory, VDB Entry, vdb-entry)
- secunia.com/advisories/26822 (Third Party Advisory, third-party-advisory)
- ADV-2008-0059 (Permissions Required, Third Party Advisory, vdb-entry)
- GLSA-200710-02 (vendor-advisory, Third Party Advisory)
- www.php.net/releases/4_4_8.php (Vendor Advisory)
- www.php.net/ChangeLog-5.php (Vendor Advisory)
- 2007-0026 (vendor-advisory, Broken Link)
- issues.rpath.com/browse/RPL-1693 (Broken Link)
- securityreason.com/securityalert/3102 (Exploit, Third Party Advisory, third-party-advisory)
- secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ (Exploit, Third Party Advisory)