Security mailing lists by PureSourceCode

CVE-2008-5624

HIGH 7.5CVSS 2.0

PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.

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.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
NVD php php
cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
= 5.2.6
NVD php php
cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*
= 5.2.7

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.