CVE-2008-0599

Public Exploit

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 47.57% Top 5%
Vendor Advisory redhat.com Vendor Advisory hp.com Vendor Advisory marc.info Vendor Advisory apple.com Vendor Advisory gentoo.org Vendor Advisory marc.info Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory ubuntu.com Vendor Advisory slackware.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory secunia.com Vendor Advisory secunia.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.vupen.com/english/advisories/2008/1412 vdb entry broken link
http://www.securityfocus.com/archive/1/492535/100/0/threaded broken link mailing list third party advisory vdb entry
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html vendor advisory mailing list
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.12&r2=1.267.2.15.2.50.2.13&diff_format=u broken link exploit
http://secunia.com/advisories/32746 third party advisory broken link
http://secunia.com/advisories/30616 third party advisory broken link
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 vendor advisory broken link
http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor advisory mailing list
http://secunia.com/advisories/30083 third party advisory broken link
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html vendor advisory mailing list
http://security.gentoo.org/glsa/glsa-200811-05.xml third party advisory vendor advisory
http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor advisory mailing list
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor advisory mailing list
http://www.securityfocus.com/bid/29009 broken link third party advisory vdb entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 signature vdb entry broken link
http://secunia.com/advisories/30828 third party advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 vendor advisory broken link
http://www.vupen.com/english/advisories/2008/2268 vdb entry broken link
http://secunia.com/advisories/30345 vendor advisory broken link third party advisory
http://www.ubuntu.com/usn/usn-628-1 third party advisory vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 third party advisory vdb entry
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 broken link
http://www.openwall.com/lists/oss-security/2008/05/02/2 mailing list
http://www.php.net/ChangeLog-5.php release notes
http://secunia.com/advisories/31200 third party advisory broken link
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 vendor advisory broken link
http://secunia.com/advisories/30757 third party advisory broken link
http://secunia.com/advisories/31326 third party advisory broken link
http://www.securitytracker.com/id?1019958 broken link third party advisory vdb entry
http://www.kb.cert.org/vuls/id/147027 third party advisory us government resource
https://issues.rpath.com/browse/RPL-2503 broken link
http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor advisory broken link
http://www.vupen.com/english/advisories/2008/1810/references vdb entry broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor advisory broken link
http://secunia.com/advisories/35650 third party advisory broken link
http://secunia.com/advisories/30048 vendor advisory broken link third party advisory

Frequently Asked Questions

What is the severity of CVE-2008-0599?
CVE-2008-0599 has been scored as a critical severity vulnerability.
How to fix CVE-2008-0599?
To fix CVE-2008-0599, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2008-0599 being actively exploited in the wild?
It is possible that CVE-2008-0599 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~48% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.