CVE-2008-5625

PHP <5.2.7 - Info Disclosure

Title source: llm
STIX 2.1

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.

Exploits (1)

exploitdb WRITEUP VERIFIED
by SecurityReason · textlocalmultiple
https://www.exploit-db.com/exploits/7171

References (13)

Core 13
Core References
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=125631037611762&w=2
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=124654546101607&w=2
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/501376/100/0/threaded
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/Advisories:rPSA-2009-0035
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/47314
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/32383
Exploit third-party-advisory x_refsource_sreasonres
http://securityreason.com/achievement_securityalert/57
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/52205
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.7
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
Third Party Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2008-11/0152.html
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/7171
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35650

Scores

EPSS 0.1137
EPSS Percentile 93.6%

Details

CWE
CWE-264
Status published
Products (20)
php/php 5.0.0 (8 CPE variants)
php/php 5.0.1
php/php 5.0.2
php/php 5.0.3
php/php 5.0.4
php/php 5.0.5
php/php 5.1.0
php/php 5.1.1
php/php 5.1.2
php/php 5.1.3
... and 10 more
Published Dec 17, 2008
Tracked Since Feb 18, 2026