HOMEVULNERABILITIESCVE-2012-1823
HIGHCISA KEVIN THE WILD

CVE-2012-1823

Published: March 25, 2022

EPSS:94.39%probability of exploitation in 30 daysPercentile:100.0th

Official 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.

NVD Source

CISA KEV Advisory

PHP-CGI Query String Parameter Vulnerability

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.

Added to KEV: 2022-03-25Federal patch deadline: 2022-04-15
Required Action (CISA)

Apply updates per vendor instructions.

Risk Analysis

PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code. This is a HIGH severity vulnerability with a high EPSS score of 0.94386, indicating a high likelihood of exploitation. CISA has confirmed its exploitation in the KEV catalog.

This vulnerability is actively being exploited in the wild. It can be exploited remotely when PHP is configured as a CGI script.

Recommended Action

PHP users should ensure their installations are updated to versions that address this vulnerability. If running PHP as a CGI script, review and harden configurations, and consider alternative deployment methods if possible.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2012-1823 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CISA has added CVE-2012-1823 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.

Affected Vendors & Products

Mentioned vendors (from description):
PHP
CPE data not yet available in NVD for this CVE.

Exploit & PoC Resources

ACTIVE EXPLOITATIONConfirmed exploitation in the wild
External links open in a new tab. Always verify in a controlled environment before use.

All References (1)

Quick Facts

CVE IDCVE-2012-1823
SeverityHIGH
CISA KEVYES — Active Exploitation
ExploitIN THE WILD
EPSS (30d)94.39%
PublishedMar 25, 2022

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2012-1823 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
  • !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
  • !Active exploitation confirmed — treat as P1
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.