CVE-2008-5625
HIGH
7.5
CVSS 2.0
Description
PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is enabled through a php_admin_flag setting in httpd.conf, which allows context-dependent attackers to write to arbitrary files by placing a "php_value error_log" entry in a .htaccess file.
Affected products and versions
- PHP — Up to and including 5.2.6
- PHP versions 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5
References
- archives.neohapsis.com http://archives.neohapsis.com/archives/bugtraq/2008-11/0152.html
- marc.info http://marc.info/?l=bugtraq&m=124654546101607&w=2
- marc.info http://marc.info/?l=bugtraq&m=125631037611762&w=2
- osvdb.org http://osvdb.org/52205
- secunia.com http://secunia.com/advisories/35650
- securityreason.com http://securityreason.com/achievement_securityalert/57 Exploit
- wiki.rpath.com http://wiki.rpath.com/Advisories:rPSA-2009-0035
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
- www.php.net http://www.php.net/ChangeLog-5.php#5.2.7
- www.securityfocus.com http://www.securityfocus.com/archive/1/501376/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/32383
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/47314
- www.exploit-db.com https://www.exploit-db.com/exploits/7171
- nvd.nist.gov Official NVD record