CVE-2012-1823

CVSS V2 High 7.5 CVSS V3 None
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.
Overview
  • CVE ID
  • CVE-2012-1823
  • Assigner
  • cret@cert.org
  • Vulnerability Status
  • Modified
  • Published Version
  • 2012-05-11T10:15:48
  • Last Modified Date
  • 2018-01-18T02:29:15
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 5.3.11
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.4.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:php:php:5.4.1:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
History
Created Old Value New Value Data Type Notes
2022-05-10 18:49:44 Added to TrackCVE