CVE-2007-3997

PHP <4.4.8 & <5.2.4 - Auth Bypass

Title source: llm
STIX 2.1

Description

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Mattias Bengtsson · textlocalmultiple
https://www.exploit-db.com/exploits/4392

References (21)

Core 21
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26822
Permissions Required, Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0059
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Vendor Advisory x_refsource_confirm
http://www.php.net/releases/4_4_8.php
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.4
Broken Link vendor-advisory x_refsource_trustix
http://www.trustix.org/errata/2007/0026/
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1693
Exploit, Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3102
Exploit, Third Party Advisory x_refsource_misc
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-1702
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26838
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27377
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4392
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-4.php
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27102
Permissions Required, Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3023
Vendor Advisory x_refsource_confirm
http://www.php.net/releases/5_2_4.php
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28318
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26642

Scores

EPSS 0.3205
EPSS Percentile 96.9%

Details

CWE
CWE-264
Status published
Products (1)
php/php 4.0.0 - 4.4.8
Published Sep 04, 2007
Tracked Since Feb 18, 2026