CVE-2008-5624
HIGH · CVSS 7.5EPSS 2.2%EU EUVD
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.
Key facts
- CVSS score
- 7.5 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- Weakness (CWE)
- CWE-264
- EPSS score
- 2.2% (83th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-5598)
- Published
- December 17, 2008
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-5598 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
References
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://osvdb.org/50483
- http://osvdb.org/52207
- http://secunia.com/advisories/35003
- http://secunia.com/advisories/35650
- http://securityreason.com/achievement_securityalert/59(Exploit)
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://www.debian.org/security/2009/dsa-1789
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
- http://www.php.net/ChangeLog-5.php#5.2.7
- http://www.securityfocus.com/archive/1/498985/100/0/threaded
- http://www.securityfocus.com/archive/1/501376/100/0/threaded
- http://www.securityfocus.com/bid/32688
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47318
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain