CVE-2008-5625
PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is...
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2008-5625- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-5625- Updated
- 2026-11-02
EUVDEUVD-2008-5599 No score
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.
- Record
EUVD-2008-5599- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x9qw-wpgc-3724 No score
PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is...
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.
- Record
GHSA-x9qw-wpgc-3724- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 5.2.6 - 'error_log' Safe_mode Bypass | 2008-11-20 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-5625 is a high vulnerability (CVSS 7.5) in Php, published December 17, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.31%, the 94th percentile. No source names a fixed version.
References
marc.info?l=bugtraq&m=125631037611762&w=2
marc.info?l=bugtraq&m=124654546101607&w=2
securityfocus.com/archive/1/501376/100/0/threaded
wiki.rpath.com/Advisories:rPSA-2009-0035
exchange.xforce.ibmcloud.com/vulnerabilities/47314
securityfocus.com/bid/32383
Show 9 moreShow less
securityreason.com/achievement_securityalert/57
osvdb.org/52205
php.net/ChangeLog-5.php
mandriva.com/security/advisories?name=MDVSA-2009:045
archives.neohapsis.com/archives/bugtraq/2008-11/0152.html
exploit-db.com/exploits/7171
secunia.com/advisories/35650
nvd.nist.gov/vuln/detail/CVE-2008-5625
github.com/advisories/GHSA-x9qw-wpgc-3724