BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2008-0599

CRITICAL 9.8 CVSS 3.1
Published
May 5, 2008
Last modified
June 16, 2026
NVD status
Modified
Reported by
secalert@redhat.com
Weakness
CWE-131
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Affected products and versions

  • PHP — Before 5.2.6

References

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