Skip to content

CVE-2008-5625 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....

HighCVSS 7.5 EPSS 7.3% Public exploit
Published
Updated
Exploit status
Public exploit available

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

ProductAffected versionsFixed in
PHP <= 5.2.6 No fix listed
PHP = 5.0.0 No fix listed
PHP = 5.0.0-beta1 No fix listed
PHP = 5.0.0-beta2 No fix listed
PHP = 5.0.0-beta3 No fix listed
PHP = 5.0.0-beta4 No fix listed
PHP = 5.0.0-rc1 No fix listed
PHP = 5.0.0-rc2 No fix listed
PHP = 5.0.0-rc3 No fix listed
PHP = 5.0.1 No fix listed
PHP = 5.0.2 No fix listed
PHP = 5.0.3 No fix listed
PHP = 5.0.4 No fix listed
PHP = 5.0.5 No fix listed
PHP = 5.1.0 No fix listed
PHP = 5.1.1 No fix listed
PHP = 5.1.2 No fix listed
PHP = 5.1.3 No fix listed
PHP = 5.1.4 No fix listed
PHP = 5.1.5 No fix listed
PHP = 5.1.6 No fix listed
PHP = 5.2.0 No fix listed
PHP = 5.2.1 No fix listed
PHP = 5.2.2 No fix listed
PHP = 5.2.3 No fix listed
Show 2 more
ProductAffected versionsFixed in
PHP = 5.2.4 No fix listed
PHP = 5.2.5 No fix listed

References