{"id":"CVE-2008-5625","aliases":["EUVD-2008-5599","GHSA-x9qw-wpgc-3724"],"status":"published","title":"PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.07314,"percentile":0.94414,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-264"],"published":"2008-12-17T17:00:00Z","modified":"2026-06-16T23:00:41Z","exploits":[{"source":"exploitdb","id":"EDB-7171","title":"PHP 5.2.6 - 'error_log' Safe_mode Bypass","type":"local","platform":"multiple","date":"2008-11-20","verified":true,"url":"https://www.exploit-db.com/exploits/7171"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=125631037611762\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=124654546101607\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47314","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/32383","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/57","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://osvdb.org/52205","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:045","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2008-11/0152.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/7171","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/35650","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5625"},{"url":"https://github.com/advisories/GHSA-x9qw-wpgc-3724"}],"sources":{"cve":[{"id":"CVE-2008-5625","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.","status":"published","published":"2008-12-17T17:00:00Z","modified":"2024-08-07T10:56:47.369Z","updated_at":"2026-11-02T14:34:43.943588Z"}],"euvd":[{"id":"EUVD-2008-5599","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.","status":"published","published":"2008-12-17T17:00:00Z","modified":"2024-08-07T10:56:47Z","updated_at":"2026-11-03T01:38:42.372366Z"}],"ghsa":[{"id":"GHSA-x9qw-wpgc-3724","title":"PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is...","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.","status":"published","published":"2022-05-14T02:39:43Z","modified":"2023-02-02T05:06:18Z","updated_at":"2026-11-02T14:52:17.172417Z"}],"nvd":[{"id":"CVE-2008-5625","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.","status":"published","published":"2008-12-17T17:30:00.483Z","modified":"2026-06-16T23:00:41.107Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:30.411919Z"}]}}
