CVE-2008-0599
CRITICALPHP < 5.2.6 - Remote Code Execution via PATH_TRANSLATED Buffer Overflow
Title source: manualDescription
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.
References (36)
Core 36
Core References
Broken Link vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1412
Broken Link, Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/492535/100/0/threaded
Mailing List vendor-advisory
x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html
Broken Link, Exploit x_refsource_confirm
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 third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/32746
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30616
Broken Link vendor-advisory
x_refsource_hp
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437
Mailing List vendor-advisory
x_refsource_hp
http://marc.info/?l=bugtraq&m=125631037611762&w=2
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30083
Mailing List vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
Third Party Advisory vendor-advisory
x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200811-05.xml
Mailing List vendor-advisory
x_refsource_hp
http://marc.info/?l=bugtraq&m=124654546101607&w=2
Mailing List vendor-advisory
x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
Broken Link, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/29009
Broken Link vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30828
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128
Broken Link vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/2268
Broken Link, Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30345
Third Party Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-628-1
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42137
Broken Link x_refsource_confirm
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/05/02/2
Release Notes x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31200
Broken Link vendor-advisory
x_refsource_slackware
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30757
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31326
Broken Link, Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id?1019958
Third Party Advisory, US Government Resource third-party-advisory
x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/147027
Broken Link x_refsource_confirm
https://issues.rpath.com/browse/RPL-2503
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0505.html
Broken Link vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1810/references
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/35650
Broken Link, Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30048
Scores
CVSS v3
9.8
EPSS
0.1092
EPSS Percentile
95.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-131
Status
published
Products (9)
apple/mac_os_x
< 10.5.4
apple/mac_os_x_server
< 10.5.4
canonical/ubuntu_linux
6.06
canonical/ubuntu_linux
7.04
canonical/ubuntu_linux
7.10
canonical/ubuntu_linux
8.04
fedoraproject/fedora
8
fedoraproject/fedora
9
php/php
< 5.2.6
Published
May 05, 2008
Tracked Since
Feb 18, 2026