Vulnerabilities · 2008 · Php
CVE-2008-0599
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Fedora, Ubuntu Linux, Mac Os X, Mac Os X Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/30048 · Vendor Advisory
- secunia.com/advisories/30345 · Vendor Advisory
- security.gentoo.org/glsa/glsa-200811-05.xml · Third Party Advisory
- www.kb.cert.org/vuls/id/147027 · Third Party Advisory
- www.securityfocus.com/archive/1/492535/100/0/threaded · Third Party Advisory
- www.securityfocus.com/bid/29009 · Third Party Advisory
- www.securitytracker.com/id?1019958 · Third Party Advisory
- www.ubuntu.com/usn/usn-628-1 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2008-0599
- cve.org/CVERecord?id=CVE-2008-0599
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.