{"id":"CVE-2008-0599","published":"2008-05-05T17:00:00Z","modified":"2024-08-07T07:54:21Z","title":"The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10918,"percentile":0.95982,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2008/1412","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/492535/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"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","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32746","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/30616","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/30083","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.securityfocus.com/bid/29009","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/30828","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.vupen.com/english/advisories/2008/2268","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/30345","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-628-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42137","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2008/05/02/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/31200","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951","tags":["vendor-advisory","x_refsource_SLACKWARE"]},{"url":"http://secunia.com/advisories/30757","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31326","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securitytracker.com/id?1019958","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.kb.cert.org/vuls/id/147027","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"https://issues.rpath.com/browse/RPL-2503","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.vupen.com/english/advisories/2008/1810/references","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/30048","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":19.2}]},"summary":{"text":"The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 miscalculates the length of PATH_TRANSLATED because operator precedence is not properly handled. An remote attacker who can send a crafted URI to the affected PHP CGI component could execute arbitrary code, with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:48:24Z"},"euvd":{"id":"EUVD-2008-0609","exploited":false,"provenance":"source"}}