RULE(RULE ID:332224)

Rule General Information
Release Date: 2020-05-08
Rule Name: PHP CGI Argument Injection Vulnerability (CVE-2012-1823)
Severity:
CVE ID:
Rule Protection Details
Description: sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, 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 execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Impact: An attacker can launch a denial of service attack by exploiting the vulnerability successfully.
Affected OS: Windows, Linux, Others
Reference: SecurityTrackerID:1027022
http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
http://www.php.net/archive/2012.php#id2012-05-08-1