CVE-2008-5625
publishedphp: incorrect php_value order for Apache configuration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
13- 20081120 SecurityReason : PHP 5.2.6 (error_log) safe_mode bypass http://archives.neohapsis.com/archives/bugtraq/2008-11/0152.html
- SSRT090085 http://marc.info/?l=bugtraq&m=124654546101607&w=2
- HPSBUX02465 http://marc.info/?l=bugtraq&m=125631037611762&w=2
- 52205 http://osvdb.org/52205
- 35650 http://secunia.com/advisories/35650
- 20081120 PHP 5.2.6 (error_log) safe_mode bypass http://securityreason.com/achievement_securityalert/57
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- MDVSA-2009:045 http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
- http://www.php.net/ChangeLog-5.php#5.2.7
- 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl http://www.securityfocus.com/archive/1/501376/100/0/threaded
- 32383 http://www.securityfocus.com/bid/32383
- php-error-safemode-bypass(47314) https://exchange.xforce.ibmcloud.com/vulnerabilities/47314
- 7171 https://www.exploit-db.com/exploits/7171
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 514a36087e7b6df08252596e52b92a6f3bb39d60799800e3ff05d3964e00b999
- Ingested
- 23 Sep 2026, 07:38:30 UTC
- Source record
- Official CVE record