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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.