Unscored severity · published May 11, 2012
CVE-2012-2335
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code…
–
CVSS
32.2%
EPSS
No
On KEV
Description
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.
Exploitation
Is it being used?
Exploit prediction (EPSS)32.2% · higher than 98% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
5.3.12; 5.4.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2335
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-2335
eindbazen.net
http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
git.php.net
http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569
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
secunia.com
http://secunia.com/advisories/49014
US Government Resource
http://www.kb.cert.org/vuls/id/520827
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
