Unscored severity · published May 11, 2012
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)…
–
CVSS
50.3%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)50.3% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.3.12; 1.0; 2.0; 2.0b10; 3.0; 3.0.1; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2336
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-2336
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
Vendor Advisory
http://secunia.com/advisories/49014
www.php.net
http://www.php.net/ChangeLog-5.php#5.4.3
Vendor Advisory
http://www.php.net/archive/2012.php#id2012-05-08-1
Vendor Advisory
https://bugs.php.net/bug.php?id=61910
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
