National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-0599 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/07/2008)

Not vulnerable. This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, and Red Hat Application Stack v1. For Red Hat Application Stack v2, issue was addressed via: https://rhn.redhat.com/errata/RHSA-2008-0505.html

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

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

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other NIST  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:php:php:5.0.0:beta1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.6
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.2.4
     Show Matching CPE(s)
 cpe:/a:php:php
     Show Matching CPE(s)
Up to (including)
5.2.5


Change History

5 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-0599
NVD Published Date:
05/05/2008
NVD Last Modified:
10/15/2018