CVE-2008-0599 Code injection in n/a
Remote attackers can execute arbitrary code via crafted URIs due to operator precedence errors in PHP's CGI request handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-0599?
CVE-2008-0599 is a critical code injection vulnerability in Apple Mac Os X, published on 5 May 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
Weakness: CWE-131
Which versions are affected by CVE-2008-0599?
It affects 5 products.
Products include Apple Mac Os X, Apple Mac Os X Server, Canonical Ubuntu Linux, Fedoraproject Fedora, Php Php.
How do I fix CVE-2008-0599?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2008-0599 being exploited?
There is no known exploitation of CVE-2008-0599 in the wild and no public exploit code.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as GHSA-m9m5-q9x5-6877.