Menu

Star on GitHub · 3.2k

CVE-2008-0599

9.8 · CRITICAL

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 att…

Published May 5, 2008phpCWE-131EPSS 10.92%

Overview

CVE-2008-0599 is a critical-severity vulnerability affecting php php. It was published on May 5, 2008 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from php. Update php to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
phpphp>= 0, < 5.2.6Affected
applemac_os_x>= 0, < 10.5.4Affected
applemac_os_x_server>= 0, < 10.5.4Affected

Frequently asked questions

What is CVE-2008-0599?

CVE-2008-0599 is a critical-severity vulnerability affecting php php. It was published on May 5, 2008 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2008-0599?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2008-0599?

Check the references section for vendor advisories and patches from php. Update php to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2008-0599?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2008-0599 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2008

View all