CVE-2012-1823: 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.
Why it matters
CISA added CVE-2012-1823 to its Known Exploited Vulnerabilities (KEV) catalog on 2022-03-25 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. US federal agencies had to remediate it by 2022-04-15, and it is a high priority for everyone else too.
How to fix it
Apply updates per vendor instructions.
Details
- Affected: PHP PHP
- Added to CISA KEV: 2022-03-25
- Federal remediation due: 2022-04-15
- Weakness: CWE-20
- EPSS: 100.0% chance of exploitation in the next 30 days, higher than 100% of all CVEs
- Reference: NVD entry for CVE-2012-1823
Is CVE-2012-1823 in your fleet?
SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.