Security mailing lists by PureSourceCode

CVE-2008-5625

HIGH 7.5CVSS 2.0

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.

Published
17 Dec 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-264
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.2.6
NVD php php
cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
= 5.0.1
NVD php php
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
= 5.0.2
NVD php php
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
= 5.0.3
NVD php php
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
= 5.0.4
NVD php php
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
= 5.0.5
NVD php php
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
= 5.1.0
NVD php php
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
= 5.1.1
NVD php php
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
= 5.1.2
NVD php php
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
= 5.1.3
NVD php php
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
= 5.1.4
NVD php php
cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
= 5.1.5
NVD php php
cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
= 5.1.6
NVD php php
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
= 5.2.0
NVD php php
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
= 5.2.1
NVD php php
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
= 5.2.2
NVD php php
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
= 5.2.3
NVD php php
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
= 5.2.4
NVD php php
cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
= 5.2.5

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 17 Dec 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.