CVE-2008-5624

UnknownEPSS 2.22%

Last modified

CVE-2008-5624 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.22% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
2.22%

80.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2
PhpPhp5.0.3
PhpPhp5.0.4
PhpPhp5.0.5
PhpPhp5.1.0
PhpPhp5.1.1
PhpPhp5.1.2
PhpPhp5.1.3
PhpPhp5.1.4
PhpPhp5.1.5
PhpPhp5.1.6
PhpPhp5.2.0
PhpPhp5.2.1
PhpPhp5.2.2
PhpPhp5.2.3
PhpPhp5.2.4
PhpPhp5.2.5
PhpPhp5.2.6
PhpPhp5.2.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 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.
How severe is CVE-2008-5624?
Severity scoring for CVE-2008-5624 is pending analysis. The EPSS model estimates a 2.22% probability of exploitation in the next 30 days.
How do I fix CVE-2008-5624?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2008-5624?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST