Public Date:
CWE-228 -> CWE-400
820708: CVE-2012-2336 php: incomplete CVE-2012-1823 fix - missing filtering of -T and -h

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-2336 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 7.5
Base Metrics AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux version 5 (php53) RHSA-2012:1047 2012-06-27
Red Hat Enterprise Linux version 6 (php) RHSA-2012:1046 2012-06-27
Red Hat Enterprise Linux version 5 (php) RHSA-2012:1045 2012-06-27

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 php Not affected
Red Hat Enterprise Linux 3 php Not affected