CVE-2008-0599

CRITICALCVSS 9.8/10EPSS 10.92%

Last modified

CVE-2008-0599 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 10.92% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
10.92%

95.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp< 5.2.6
FedoraprojectFedora8
FedoraprojectFedora9
CanonicalUbuntu Linux6.06
CanonicalUbuntu Linux7.04
CanonicalUbuntu Linux7.10
CanonicalUbuntu Linux8.04
AppleMac Os X< 10.5.4
AppleMac Os X Server< 10.5.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2008-0599?
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.
How severe is CVE-2008-0599?
CVE-2008-0599 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 10.92% probability of exploitation in the next 30 days.
How do I fix CVE-2008-0599?
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-0599?

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

Scan your code now

Source: NVD / NIST