CVE-2008-0599

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
Link Resource
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://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 Broken Link
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 Broken Link
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html Mailing List
http://marc.info/?l=bugtraq&m=124654546101607&w=2 Mailing List
http://marc.info/?l=bugtraq&m=124654546101607&w=2 Mailing List
http://marc.info/?l=bugtraq&m=125631037611762&w=2 Mailing List
http://marc.info/?l=bugtraq&m=125631037611762&w=2 Mailing List
http://secunia.com/advisories/30048 Broken Link Vendor Advisory
http://secunia.com/advisories/30083 Broken Link
http://secunia.com/advisories/30345 Broken Link Vendor Advisory
http://secunia.com/advisories/30616 Broken Link
http://secunia.com/advisories/30757 Broken Link
http://secunia.com/advisories/30828 Broken Link
http://secunia.com/advisories/31200 Broken Link
http://secunia.com/advisories/31326 Broken Link
http://secunia.com/advisories/32746 Broken Link
http://secunia.com/advisories/35650 Broken Link
http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 Broken Link
http://www.kb.cert.org/vuls/id/147027 Third Party Advisory US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 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://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link
http://www.securityfocus.com/archive/1/492535/100/0/threaded Broken Link Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/29009 Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id?1019958 Broken Link Third Party Advisory VDB Entry
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 Broken Link
http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1412 Broken Link
http://www.vupen.com/english/advisories/2008/1810/references Broken Link
http://www.vupen.com/english/advisories/2008/2268 Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-2503 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 Broken Link
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html 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://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 Broken Link
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 Broken Link
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html Mailing List
http://marc.info/?l=bugtraq&m=124654546101607&w=2 Mailing List
http://marc.info/?l=bugtraq&m=124654546101607&w=2 Mailing List
http://marc.info/?l=bugtraq&m=125631037611762&w=2 Mailing List
http://marc.info/?l=bugtraq&m=125631037611762&w=2 Mailing List
http://secunia.com/advisories/30048 Broken Link Vendor Advisory
http://secunia.com/advisories/30083 Broken Link
http://secunia.com/advisories/30345 Broken Link Vendor Advisory
http://secunia.com/advisories/30616 Broken Link
http://secunia.com/advisories/30757 Broken Link
http://secunia.com/advisories/30828 Broken Link
http://secunia.com/advisories/31200 Broken Link
http://secunia.com/advisories/31326 Broken Link
http://secunia.com/advisories/32746 Broken Link
http://secunia.com/advisories/35650 Broken Link
http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 Broken Link
http://www.kb.cert.org/vuls/id/147027 Third Party Advisory US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 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://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link
http://www.securityfocus.com/archive/1/492535/100/0/threaded Broken Link Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/29009 Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id?1019958 Broken Link Third Party Advisory VDB Entry
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 Broken Link
http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1412 Broken Link
http://www.vupen.com/english/advisories/2008/1810/references Broken Link
http://www.vupen.com/english/advisories/2008/2268 Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-2503 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 Broken Link
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html Mailing List
Configurations

Configuration 1 (hide)

cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*

History

21 Nov 2024, 00:42

Type Values Removed Values Added
References () 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://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
References () http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 - Broken Link () http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 - Broken Link
References () http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html - Mailing List () http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html - Mailing List
References () http://marc.info/?l=bugtraq&m=124654546101607&w=2 - Mailing List () http://marc.info/?l=bugtraq&m=124654546101607&w=2 - Mailing List
References () http://marc.info/?l=bugtraq&m=125631037611762&w=2 - Mailing List () http://marc.info/?l=bugtraq&m=125631037611762&w=2 - Mailing List
References () http://secunia.com/advisories/30048 - Broken Link, Vendor Advisory () http://secunia.com/advisories/30048 - Broken Link, Vendor Advisory
References () http://secunia.com/advisories/30083 - Broken Link () http://secunia.com/advisories/30083 - Broken Link
References () http://secunia.com/advisories/30345 - Broken Link, Vendor Advisory () http://secunia.com/advisories/30345 - Broken Link, Vendor Advisory
References () http://secunia.com/advisories/30616 - Broken Link () http://secunia.com/advisories/30616 - Broken Link
References () http://secunia.com/advisories/30757 - Broken Link () http://secunia.com/advisories/30757 - Broken Link
References () http://secunia.com/advisories/30828 - Broken Link () http://secunia.com/advisories/30828 - Broken Link
References () http://secunia.com/advisories/31200 - Broken Link () http://secunia.com/advisories/31200 - Broken Link
References () http://secunia.com/advisories/31326 - Broken Link () http://secunia.com/advisories/31326 - Broken Link
References () http://secunia.com/advisories/32746 - Broken Link () http://secunia.com/advisories/32746 - Broken Link
References () http://secunia.com/advisories/35650 - Broken Link () http://secunia.com/advisories/35650 - Broken Link
References () http://security.gentoo.org/glsa/glsa-200811-05.xml - Third Party Advisory () http://security.gentoo.org/glsa/glsa-200811-05.xml - Third Party Advisory
References () http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 - Broken Link () http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 - Broken Link
References () http://www.kb.cert.org/vuls/id/147027 - Third Party Advisory, US Government Resource () http://www.kb.cert.org/vuls/id/147027 - Third Party Advisory, US Government Resource
References () http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 - Broken Link () http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 - Broken Link
References () http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 - Broken Link () http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 - Broken Link
References () http://www.openwall.com/lists/oss-security/2008/05/02/2 - Mailing List () http://www.openwall.com/lists/oss-security/2008/05/02/2 - Mailing List
References () http://www.php.net/ChangeLog-5.php - Release Notes () http://www.php.net/ChangeLog-5.php - Release Notes
References () http://www.redhat.com/support/errata/RHSA-2008-0505.html - Broken Link () http://www.redhat.com/support/errata/RHSA-2008-0505.html - Broken Link
References () http://www.securityfocus.com/archive/1/492535/100/0/threaded - Broken Link, Third Party Advisory, VDB Entry () http://www.securityfocus.com/archive/1/492535/100/0/threaded - Broken Link, Third Party Advisory, VDB Entry
References () http://www.securityfocus.com/bid/29009 - Broken Link, Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/29009 - Broken Link, Third Party Advisory, VDB Entry
References () http://www.securitytracker.com/id?1019958 - Broken Link, Third Party Advisory, VDB Entry () http://www.securitytracker.com/id?1019958 - Broken Link, Third Party Advisory, VDB Entry
References () http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 - Broken Link () http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 - Broken Link
References () http://www.ubuntu.com/usn/usn-628-1 - Third Party Advisory () http://www.ubuntu.com/usn/usn-628-1 - Third Party Advisory
References () http://www.vupen.com/english/advisories/2008/1412 - Broken Link () http://www.vupen.com/english/advisories/2008/1412 - Broken Link
References () http://www.vupen.com/english/advisories/2008/1810/references - Broken Link () http://www.vupen.com/english/advisories/2008/1810/references - Broken Link
References () http://www.vupen.com/english/advisories/2008/2268 - Broken Link () http://www.vupen.com/english/advisories/2008/2268 - Broken Link
References () https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 - Third Party Advisory, VDB Entry () https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 - Third Party Advisory, VDB Entry
References () https://issues.rpath.com/browse/RPL-2503 - Broken Link () https://issues.rpath.com/browse/RPL-2503 - Broken Link
References () https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 - Broken Link () https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 - Broken Link
References () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html - Mailing List () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html - Mailing List
References () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html - Mailing List () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html - Mailing List

02 Feb 2024, 13:52

Type Values Removed Values Added
CPE cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
CVSS v2 : 10.0
v3 : unknown
v2 : 10.0
v3 : 9.8
CWE NVD-CWE-Other CWE-131
First Time Canonical
Canonical ubuntu Linux
Apple
Fedoraproject fedora
Apple mac Os X
Fedoraproject
Apple mac Os X Server
References (REDHAT) http://www.redhat.com/support/errata/RHSA-2008-0505.html - (REDHAT) http://www.redhat.com/support/errata/RHSA-2008-0505.html - Broken Link
References (SECUNIA) http://secunia.com/advisories/31326 - (SECUNIA) http://secunia.com/advisories/31326 - Broken Link
References (SLACKWARE) http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 - (SLACKWARE) http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 - Broken Link
References (SECUNIA) http://secunia.com/advisories/30616 - (SECUNIA) http://secunia.com/advisories/30616 - Broken Link
References (BID) http://www.securityfocus.com/bid/29009 - (BID) http://www.securityfocus.com/bid/29009 - Broken Link, Third Party Advisory, VDB Entry
References (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html - (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html - Mailing List
References (SECUNIA) http://secunia.com/advisories/32746 - (SECUNIA) http://secunia.com/advisories/32746 - Broken Link
References (BUGTRAQ) http://www.securityfocus.com/archive/1/492535/100/0/threaded - (BUGTRAQ) http://www.securityfocus.com/archive/1/492535/100/0/threaded - Broken Link, Third Party Advisory, VDB Entry
References (APPLE) http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html - (APPLE) http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html - Mailing List
References (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 - Exploit (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, Exploit
References (SECUNIA) http://secunia.com/advisories/30048 - Vendor Advisory (SECUNIA) http://secunia.com/advisories/30048 - Broken Link, Vendor Advisory
References (CONFIRM) http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 - (CONFIRM) http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 - Broken Link
References (HP) http://marc.info/?l=bugtraq&m=125631037611762&w=2 - (HP) http://marc.info/?l=bugtraq&m=125631037611762&w=2 - Mailing List
References (OVAL) https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 - (OVAL) https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 - Broken Link
References (SECUNIA) http://secunia.com/advisories/30083 - (SECUNIA) http://secunia.com/advisories/30083 - Broken Link
References (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 - (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 - Broken Link
References (SECUNIA) http://secunia.com/advisories/30828 - (SECUNIA) http://secunia.com/advisories/30828 - Broken Link
References (XF) https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 - (XF) https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 - Third Party Advisory, VDB Entry
References (VUPEN) http://www.vupen.com/english/advisories/2008/2268 - (VUPEN) http://www.vupen.com/english/advisories/2008/2268 - Broken Link
References (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html - (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html - Mailing List
References (MLIST) http://www.openwall.com/lists/oss-security/2008/05/02/2 - (MLIST) http://www.openwall.com/lists/oss-security/2008/05/02/2 - Mailing List
References (UBUNTU) http://www.ubuntu.com/usn/usn-628-1 - (UBUNTU) http://www.ubuntu.com/usn/usn-628-1 - Third Party Advisory
References (SECUNIA) http://secunia.com/advisories/31200 - (SECUNIA) http://secunia.com/advisories/31200 - Broken Link
References (CONFIRM) http://www.php.net/ChangeLog-5.php - (CONFIRM) http://www.php.net/ChangeLog-5.php - Release Notes
References (SECUNIA) http://secunia.com/advisories/30345 - Vendor Advisory (SECUNIA) http://secunia.com/advisories/30345 - Broken Link, Vendor Advisory
References (GENTOO) http://security.gentoo.org/glsa/glsa-200811-05.xml - (GENTOO) http://security.gentoo.org/glsa/glsa-200811-05.xml - Third Party Advisory
References (CONFIRM) https://issues.rpath.com/browse/RPL-2503 - (CONFIRM) https://issues.rpath.com/browse/RPL-2503 - Broken Link
References (SECTRACK) http://www.securitytracker.com/id?1019958 - (SECTRACK) http://www.securitytracker.com/id?1019958 - Broken Link, Third Party Advisory, VDB Entry
References (HP) http://marc.info/?l=bugtraq&m=124654546101607&w=2 - (HP) http://marc.info/?l=bugtraq&m=124654546101607&w=2 - Mailing List
References (SECUNIA) http://secunia.com/advisories/35650 - (SECUNIA) http://secunia.com/advisories/35650 - Broken Link
References (SECUNIA) http://secunia.com/advisories/30757 - (SECUNIA) http://secunia.com/advisories/30757 - Broken Link
References (HP) http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 - (HP) http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 - Broken Link
References (CERT-VN) http://www.kb.cert.org/vuls/id/147027 - US Government Resource (CERT-VN) http://www.kb.cert.org/vuls/id/147027 - Third Party Advisory, US Government Resource
References (VUPEN) http://www.vupen.com/english/advisories/2008/1412 - (VUPEN) http://www.vupen.com/english/advisories/2008/1412 - Broken Link
References (VUPEN) http://www.vupen.com/english/advisories/2008/1810/references - (VUPEN) http://www.vupen.com/english/advisories/2008/1810/references - Broken Link
References (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 - (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 - Broken Link

Information

Published : 2008-05-05 17:20

Updated : 2024-11-21 00:42


NVD link : CVE-2008-0599

Mitre link : CVE-2008-0599

CVE.ORG link : CVE-2008-0599


JSON object : View

Products Affected

php

  • php

apple

  • mac_os_x
  • mac_os_x_server

canonical

  • ubuntu_linux

fedoraproject

  • fedora
CWE
CWE-131

Incorrect Calculation of Buffer Size