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.
Metrics
CVSS 2.0 7.5/10
AV:N/AC:L/Au:N/C:P/I:P/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
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/3102Exploit, Third Party Advisory
- http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/Exploit, Third 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 Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059Permissions Required, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36384Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39402Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693Broken Link
- https://issues.rpath.com/browse/RPL-1702Broken Link
- https://www.exploit-db.com/exploits/4392Third Party Advisory, VDB Entry
- 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/3102Exploit, Third Party Advisory
- http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/Exploit, Third 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 Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059Permissions Required, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36384Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39402Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693Broken Link
- https://issues.rpath.com/browse/RPL-1702Broken Link
- https://www.exploit-db.com/exploits/4392Third Party Advisory, VDB Entry
Timeline
- Published
- Sep 4, 2007
- Last modified
- Jun 16, 2026
- NVD status
- Modified