CVE-2007-3997

N/A Unknown
Published: September 04, 2007 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://secunia.com/advisories/26642
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/26822
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/26838
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/27102
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/27377
Source: cve@mitre.org
Third Party Advisory
http://secunia.com/advisories/28318
Source: cve@mitre.org
Third Party Advisory
http://securityreason.com/securityalert/3102
Source: cve@mitre.org
Exploit Third Party Advisory
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/
Source: cve@mitre.org
Exploit Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Source: cve@mitre.org
Third Party Advisory
http://www.php.net/ChangeLog-4.php
Source: cve@mitre.org
Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.4
Source: cve@mitre.org
Vendor Advisory
http://www.php.net/releases/4_4_8.php
Source: cve@mitre.org
Vendor Advisory
http://www.php.net/releases/5_2_4.php
Source: cve@mitre.org
Vendor Advisory
http://www.trustix.org/errata/2007/0026/
Source: cve@mitre.org
Broken Link
http://www.vupen.com/english/advisories/2007/3023
Source: cve@mitre.org
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0059
Source: cve@mitre.org
Permissions Required Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1693
Source: cve@mitre.org
Broken Link
https://issues.rpath.com/browse/RPL-1702
Source: cve@mitre.org
Broken Link
https://www.exploit-db.com/exploits/4392
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://secunia.com/advisories/26642
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/26822
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/26838
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/27102
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/27377
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://secunia.com/advisories/28318
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://securityreason.com/securityalert/3102
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.php.net/ChangeLog-4.php
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.4
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://www.php.net/releases/4_4_8.php
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://www.php.net/releases/5_2_4.php
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://www.trustix.org/errata/2007/0026/
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.vupen.com/english/advisories/2007/3023
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0059
Source: af854a3a-2127-422b-91ae-364da2661108
Permissions Required Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1693
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://issues.rpath.com/browse/RPL-1702
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://www.exploit-db.com/exploits/4392
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry

42 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
13.8%
96th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php