CVE-2008-5625: PHP
High severity, CVSS 7.5. EPSS: 7.3% chance of exploitation in the next 30 days.
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
- PHP PHP: up to and including 5.2.6; version 5.0.0 only; version 5.0.1 only; version 5.0.2 only; version 5.0.3 only; version 5.0.4 only; …
Published 2008-12-17. Last modified 2026-06-16.