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.
Fix
apply the vendor fix or mitigation
Why this tier
Known exploited server software, exploitation is automatable, total technical impact.
Apply the vendor fix. CISA's required action: Apply updates per vendor instructions.Vendor advisory
Restart php-fpm (or your web server) after upgrading so workers load the new binary.
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2012-1823:Debian · Ubuntu · Red Hat · Alpine
This is exploited in the wild: after patching, check exposed systems for signs of compromise.
Deadline: CISA's federal due date is 2022-04-15. Treat it as the latest reasonable date for everyone else.