7.5high
CVE-2008-5624
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 a…
Published 17 y ago · modified 4 mo ago · JSON
CVSS
7.5
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.2%
percentile 83%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
2.22% probability of exploitation in the next 30 days, higher than 83% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
- PHP (RSS, critical only)
References
- marc.info /?l=bugtraq&m=125631037611762&w=2 · vendor-advisory, x_refsource_HP, x_transferred
- marc.info /?l=bugtraq&m=124654546101607&w=2 · vendor-advisory, x_refsource_HP, x_transferred
- securityfocus.com /archive/1/501376/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/47318 · vdb-entry, x_refsource_XF, x_transferred
- wiki.rpath.com /Advisories:rPSA-2009-0035 · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/32688 · vdb-entry, x_refsource_BID, x_transferred
- secunia.com /advisories/35003 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- php.net /ChangeLog-5.php#5.2.7 · x_refsource_CONFIRM, x_transferred
- mandriva.com /security/advisories?name=MDVSA-2009:045 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
- osvdb.org /50483 · vdb-entry, x_refsource_OSVDB, x_transferred
- securityreason.com /achievement_securityalert/59 · third-party-advisory, x_refsource_SREASONRES, x_transferred
- osvdb.org /52207 · vdb-entry, x_refsource_OSVDB, x_transferred
- securityfocus.com /archive/1/498985/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- secunia.com /advisories/35650 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- debian.org /security/2009/dsa-1789 · vendor-advisory, x_refsource_DEBIAN, x_transferred
Sources
- CVE List: CVE-2008-5624
- NVD: CVE-2008-5624
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.