Skip to content

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

CriticalCVSS 9.8 EPSS 10.9%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
PHP < 5.2.6 5.2.6
fedoraproject fedora = 8 No fix listed
fedoraproject fedora = 9 No fix listed
Canonical Ubuntu Linux = 6.06 No fix listed
Canonical Ubuntu Linux = 7.04 No fix listed
Canonical Ubuntu Linux = 7.10 No fix listed
Canonical Ubuntu Linux = 8.04 No fix listed
apple mac os x < 10.5.4 10.5.4
apple mac os x server < 10.5.4 10.5.4

References