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

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

apple

  • mac_os_x_server
  • mac_os_x

canonical

  • ubuntu_linux

php

  • php

fedoraproject

  • fedora
CWE
CWE-131

Incorrect Calculation of Buffer Size