Back to search
CVE-2008-5625
Published: Dec 17, 2008
Modified: Aug 7, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
HPSBUX02465
vendor-advisory
x_refsource_HP
SSRT090085
vendor-advisory
x_refsource_HP
http://wiki.rpath.com/Advisories:rPSA-2009-0035
x_refsource_CONFIRM
SSRT090192
vendor-advisory
x_refsource_HP
php-error-safemode-bypass(47314)
vdb-entry
x_refsource_XF
32383
vdb-entry
x_refsource_BID
20081120 PHP 5.2.6 (error_log) safe_mode bypass
third-party-advisory
x_refsource_SREASONRES
52205
vdb-entry
x_refsource_OSVDB
http://www.php.net/ChangeLog-5.php#5.2.7
x_refsource_CONFIRM
MDVSA-2009:045
vendor-advisory
x_refsource_MANDRIVA
HPSBUX02431
vendor-advisory
x_refsource_HP
20081120 SecurityReason : PHP 5.2.6 (error_log) safe_mode bypass
mailing-list
x_refsource_BUGTRAQ
7171
exploit
x_refsource_EXPLOIT-DB
35650
third-party-advisory
x_refsource_SECUNIA
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now