9.8crit

CVE-2008-0599in critical feed

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 t…

Published 18 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
10.9%
percentile 96%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

10.92% probability of exploitation in the next 30 days, higher than 96% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.010.0AV:N/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-131 Incorrect Calculation of Buffer Size
Technology feeds
PHP (RSS, critical only)

References

  • vupen.com /english/advisories/2008/1412 · vdb-entry, x_refsource_VUPEN, x_transferred
  • securityfocus.com /archive/1/492535/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • redhat.com /archives/fedora-package-announce/2008-June/msg00779.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • 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&di · x_refsource_CONFIRM, x_transferred
  • secunia.com /advisories/32746 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/30616 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp?objectID=c01476437 · vendor-advisory, x_refsource_HP, x_transferred
  • marc.info /?l=bugtraq&m=125631037611762&w=2 · vendor-advisory, x_refsource_HP, x_transferred
  • secunia.com /advisories/30083 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • lists.apple.com /archives/security-announce//2008/Jul/msg00003.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • security.gentoo.org /glsa/glsa-200811-05.xml · vendor-advisory, x_refsource_GENTOO, x_transferred
  • marc.info /?l=bugtraq&m=124654546101607&w=2 · vendor-advisory, x_refsource_HP, x_transferred
  • redhat.com /archives/fedora-package-announce/2008-June/msg00773.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • securityfocus.com /bid/29009 · vdb-entry, x_refsource_BID, x_transferred
  • oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 · vdb-entry, signature, x_refsource_OVAL, x_transferred
  • secunia.com /advisories/30828 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • mandriva.com /security/advisories?name=MDVSA-2008:128 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
  • vupen.com /english/advisories/2008/2268 · vdb-entry, x_refsource_VUPEN, x_transferred
  • secunia.com /advisories/30345 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • ubuntu.com /usn/usn-628-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/42137 · vdb-entry, x_refsource_XF, x_transferred
  • wiki.rpath.com /wiki/Advisories:rPSA-2008-0176 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2008/05/02/2 · mailing-list, x_refsource_MLIST, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • secunia.com /advisories/31200 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • slackware.com /security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 · vendor-advisory, x_refsource_SLACKWARE, x_transferred
  • secunia.com /advisories/30757 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/31326 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • securitytracker.com /id?1019958 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • kb.cert.org /vuls/id/147027 · third-party-advisory, x_refsource_CERT-VN, x_transferred
  • issues.rpath.com /browse/RPL-2503 · x_refsource_CONFIRM, x_transferred
  • redhat.com /support/errata/RHSA-2008-0505.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • vupen.com /english/advisories/2008/1810/references · vdb-entry, x_refsource_VUPEN, x_transferred
  • mandriva.com /security/advisories?name=MDVSA-2008:127 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
  • secunia.com /advisories/35650 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/30048 · third-party-advisory, x_refsource_SECUNIA, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.