CVE-2008-0599
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/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | < 5.2.6 |
| Fedoraproject | Fedora | 8 |
| Fedoraproject | Fedora | 9 |
| Canonical | Ubuntu Linux | 6.06 |
| Canonical | Ubuntu Linux | 7.04 |
| Canonical | Ubuntu Linux | 7.10 |
| Canonical | Ubuntu Linux | 8.04 |
| Apple | Mac Os X | < 10.5.4 |
| Apple | Mac Os X Server | < 10.5.4 |
References
- http://secunia.com/advisories/30048Broken Link, Vendor Advisory
- http://secunia.com/advisories/30083Broken Link
- http://secunia.com/advisories/30345Broken Link, Vendor Advisory
- http://secunia.com/advisories/30616Broken Link
- http://secunia.com/advisories/30757Broken Link
- http://secunia.com/advisories/30828Broken Link
- http://secunia.com/advisories/31200Broken Link
- http://secunia.com/advisories/31326Broken Link
- http://secunia.com/advisories/32746Broken Link
- http://secunia.com/advisories/35650Broken Link
- http://security.gentoo.org/glsa/glsa-200811-05.xmlThird Party Advisory
- http://www.kb.cert.org/vuls/id/147027Third Party Advisory, US Government Resource
- http://www.php.net/ChangeLog-5.phpRelease Notes
- http://www.securityfocus.com/archive/1/492535/100/0/threadedBroken Link, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/29009Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1019958Broken Link, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/usn-628-1Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42137Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-2503Broken Link
- http://secunia.com/advisories/30048Broken Link, Vendor Advisory
- http://secunia.com/advisories/30083Broken Link
- http://secunia.com/advisories/30345Broken Link, Vendor Advisory
- http://secunia.com/advisories/30616Broken Link
- http://secunia.com/advisories/30757Broken Link
- http://secunia.com/advisories/30828Broken Link
- http://secunia.com/advisories/31200Broken Link
- http://secunia.com/advisories/31326Broken Link
- http://secunia.com/advisories/32746Broken Link
- http://secunia.com/advisories/35650Broken Link
- http://security.gentoo.org/glsa/glsa-200811-05.xmlThird Party Advisory
- http://www.kb.cert.org/vuls/id/147027Third Party Advisory, US Government Resource
- http://www.php.net/ChangeLog-5.phpRelease Notes
- http://www.securityfocus.com/archive/1/492535/100/0/threadedBroken Link, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/29009Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1019958Broken Link, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/usn-628-1Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42137Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-2503Broken Link
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2008-0599?
How severe is CVE-2008-0599?
How do I fix CVE-2008-0599?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2008
- CVE-2008-0593Gecko-based browsers, including Mozilla Firefox before 2.0.0…
- CVE-2008-0594Mozilla Firefox before 2.0.0.12 does not always display a we…
- CVE-2008-0595dbus-daemon in D-Bus before 1.0.3, and 1.1.x before 1.1.20, …
- CVE-2008-0596Memory leak in CUPS before 1.1.22, and possibly other versio…
- CVE-2008-0597Use-after-free vulnerability in CUPS before 1.1.22, and poss…
- CVE-2008-0598Unspecified vulnerability in the 32-bit and 64-bit emulation…
- CVE-2008-0600The vmsplice_to_pipe function in Linux kernel 2.6.17 through…
- CVE-2008-0601SQL injection vulnerability in index.php in All Club CMS (AC…
- CVE-2008-0602Directory traversal vulnerability in index.php in All Club C…
- CVE-2008-0603SQL injection vulnerability in index.php in the amazOOP Awes…
- CVE-2008-0604The LDAP authentication feature in XLight FTP Server before …
- CVE-2008-0605Multiple cross-site scripting (XSS) vulnerabilities in Astro…
Are you affected by CVE-2008-0599?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
