BlogPHP2Shell Exploitation: How Secure.com Can Protect YouRead more
← CVE Radar

CVE-2012-1823PHP-CGI Query String Parameter Vulnerability

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.

9.8 CRITICALEPSS 99.99%⚡ Known Exploited (CISA KEV)NVD: Analyzed

Overview

Severity

ScoreSeverityVersionVector String
9.8CRITICAL3.1CISA-ADPCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.5HIGH2.0NVDAV:N/AC:L/Au:N/C:P/I:P/A:P

CISA required action

⚡ Known exploited · remediation due Apr 15, 2022

Apply updates per vendor instructions.

Details

CVE ID
CVE-2012-1823
Status
Analyzed
Assigner (CNA)
certcc
Published
May 11, 2012
Last modified
2026-06-16 23:40 UTC
Weaknesses

Sources

Refreshed hourly from the sources above. Last fetched 2026-11-08 12:45 UTC.