Improper input validation in PHP

CVE-2012-2336

sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.507 (98.9th percentile) — read the EPSS interpretation.

Affected products

  • Php — versions 1.0, 2.0, 2.0b10
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2012-2336?
CVE-2012-2336 is a vulnerability in PHP, classified under Improper Input Validation. Published 2012-05-11.
Is CVE-2012-2336 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.