NetSight
critical9.8

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

Impact

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

VendorProductAffected versions
PhpPhp
before 5.2.6
FedoraprojectFedora
Versions 8, 9
CanonicalUbuntu Linux
Versions 6.06, 7.04, 7.10, 8.04
AppleMac Os X
before 10.5.4
AppleMac Os X Server
before 10.5.4

Weakness classification

References