CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2007-3997 (1 public exploit)

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.
Publish Date : 2007-09-04 Last Update Date : 2009-09-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Bypass a restriction or similar
CWE ID 264

- Vendor Statements

Due to the nature of safe_mode and open_basedir restrictions, and in alignment with the PHP group’s stance on these features, Mandriva does not consider this a security issue.
Source: Mandriva
We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
Source: Redhat

- Products Affected By CVE-2007-3997

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.4.7 Version Details Vulnerabilities
2 Application PHP PHP 5.2.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 2

- References For CVE-2007-3997

http://secunia.com/advisories/28318
SECUNIA 28318
http://securityreason.com/securityalert/3102
SREASON 3102
http://www.frsirt.com/english/advisories/2007/3023
VUPEN ADV-2007-3023
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
GENTOO GLSA-200710-02
http://www.php.net/ChangeLog-4.php CONFIRM
http://www.php.net/releases/4_4_8.php CONFIRM
http://www.trustix.org/errata/2007/0026/
TRUSTIX 2007-0026
http://xforce.iss.net/xforce/xfdb/36384
XF php-local-infile-security-bypass(36384)
http://xforce.iss.net/xforce/xfdb/39402
XF php-localinfile-mysql-security-bypass(39402)
https://issues.rpath.com/browse/RPL-1693 CONFIRM
https://issues.rpath.com/browse/RPL-1702 CONFIRM
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/
Exploit! http://www.milw0rm.com/exploits/4392
MILW0RM 4392
http://www.php.net/ChangeLog-5.php#5.2.4 CONFIRM
http://www.php.net/releases/5_2_4.php CONFIRM
http://www.vupen.com/english/advisories/2008/0059
VUPEN ADV-2008-0059
http://secunia.com/advisories/26642
SECUNIA 26642
http://secunia.com/advisories/27377
SECUNIA 27377
http://secunia.com/advisories/27102
SECUNIA 27102
http://secunia.com/advisories/26838
SECUNIA 26838
http://secunia.com/advisories/26822
SECUNIA 26822

- Metasploit Modules Related To CVE-2007-3997

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.