Skip to content
COOEY

EXPOSURES › CVE-2012-1823

CVE-2012-1823

HIGH ⌖ ON CISA KEV · EXPLOITED
DETAIL
SourceCISA-KEV · kev Published2022-03-25 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2012-1823 ↗
⚡ RCE ⌖ EXPLOITED IN THE WILD SHAME 78/100 rceexploited-in-wildunpatched

A PHP CGI vulnerability allowed remote attackers to execute arbitrary code via improperly handled query strings.

When PHP is configured as a CGI script, attackers can inject malicious code through query strings, leading to remote code execution. DIB organizations must ensure PHP is patched and not run in CGI mode without strict input validation, as this flaw was actively exploited in the wild.

Shame score — A long-standing, actively exploited vulnerability in a widely used language that enabled remote code execution without requiring a zero-day exploit.

▸ RECOMMENDED ACTION  Actively exploited (CISA KEV) — remediate now, ahead of your normal patch cycle.

PLAYERS IMPLICATED
DESCRIPTION

sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.

SENTIMENT · TRUSTED SOURCES
synthesis severe-fallout -0.60
CVE-2012-1823 is a critical RCE flaw in PHP's CGI handling, widely tracked as a severe vulnerability requiring immediate patching, though the provided sources focus on later PHP2Shell crises rather th
cooey ↗ severe-fallout -0.80
NVD treats the flaw as a critical RCE requiring patching, reflecting severe vulnerability status.
"sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code."
phpvulnerabilities.app ↗ severe-fallout -0.70
phpvulnerabilities.app treats PHP2Shell as a critical crisis requiring immediate upgrades, reflecting severe fallout.
"PHP2Shell: upgrade PHP. That is the only complete fix."
cyberdefenders.org ↗ severe-fallout -0.60
CyberDefenders provides incident response guidance for PHP2Shell, indicating severe operational impact.
"PHP2Shell: A Detection and Incident Response Guide for Blue Teams"
isitpatched.com ↗ severe-fallout -0.50
IsItPatched tracks PHP CVEs as critical and exploited, implying severe ongoing fallout for the vendor.
"PHP vulnerabilities — 760 known CVEs (5 exploited) | IsItPatched"
techcrunch.com ↗ severe-fallout +0.00
TechCrunch article title references PHP bugs but does not provide text to judge sentiment toward PHP for CVE-2012-1823.
www.techtarget.com ↗ severe-fallout +0.00
TechTarget article title references a global vulnerability crisis but lacks text to judge sentiment for CVE-2012-1823.
app.opencve.io ↗ severe-fallout +0.00
OpenCVE lists PHP CVEs neutrally without specific sentiment toward the vendor for this 2012 event.
AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.