CVE-2012-2336

CVSS V2 Medium 5 CVSS V3 None
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.
Overview
  • CVE ID
  • CVE-2012-2336
  • Assigner
  • secalert@redhat.com
  • Vulnerability Status
  • Modified
  • Published Version
  • 2012-05-11T10:15:48
  • Last Modified Date
  • 2023-02-13T04:33:27
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 5.3.12
cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.14:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.15:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.17:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.8:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:4.4.9:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.12:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.13:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.14:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.15:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.16:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.2.17:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.7:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.8:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.9:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.10:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.3.11:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.4.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.4.0:beta2:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.4.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.4.2:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
History
Created Old Value New Value Data Type Notes
2022-05-10 18:53:36 Added to TrackCVE
2023-02-02 19:03:30 2023-02-02T18:15:41 CVE Modified Date updated
2023-02-02 19:03:31 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. CVE-2012-2336 php: incomplete CVE-2012-1823 fix - missing filtering of -T and -h Description updated
2023-02-02 19:03:35 References updated
2023-02-13 05:04:44 2023-02-13T04:33:27 CVE Modified Date updated
2023-02-13 05:04:45 CVE-2012-2336 php: incomplete CVE-2012-1823 fix - missing filtering of -T and -h 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. Description updated