CVE-2008-5624 Security feature bypass in n/a

High 7.5 Published Updated

Attackers can bypass PHP safe_mode restrictions by manipulating uninitialized global variables, allowing unauthorized access to restricted settings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-5624?

CVE-2008-5624 is a high-severity vulnerability in Php Php, published on 17 Dec 2008. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-264

Which versions are affected by CVE-2008-5624?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2008-5624?

Upgrade to a fixed version.

Is CVE-2008-5624 being exploited?

There is no known exploitation of CVE-2008-5624 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-84wj-6mhh-jgr7.

Is CVE-2008-5624 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free