Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.0.0, < 4.4.8 |
Related Weaknesses (CWE)
References
- http://secunia.com/advisories/26642Third Party Advisory
- http://secunia.com/advisories/26822Third Party Advisory
- http://secunia.com/advisories/26838Third Party Advisory
- http://secunia.com/advisories/27102Third Party Advisory
- http://secunia.com/advisories/27377Third Party Advisory
- http://secunia.com/advisories/28318Third Party Advisory
- http://securityreason.com/securityalert/3102ExploitThird Party Advisory
- http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ExploitThird Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.php.net/ChangeLog-4.phpVendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4Vendor Advisory
- http://www.php.net/releases/4_4_8.phpVendor Advisory
- http://www.php.net/releases/5_2_4.phpVendor Advisory
- http://www.trustix.org/errata/2007/0026/Broken Link
- http://www.vupen.com/english/advisories/2007/3023Permissions RequiredThird Party Advisory
FAQ
What is CVE-2007-3997?
CVE-2007-3997 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 de...
How severe is CVE-2007-3997?
CVE-2007-3997 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2007-3997?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.