← gociux.comall exploited CVEs

Exploited vulnerability · CISA KEV

Is CVE-2012-1823 exploited? Yes: in CISA KEV since 25 Mar 2022

Gociux · PHP · data: CISA KEV, CVE record, FIRST EPSS

Yes. CVE-2012-1823, PHP-CGI Query String Parameter Vulnerability, is being exploited in the wild. CISA added it to its Known Exploited Vulnerabilities catalog on 25 Mar 2022, 3605 days after it was published. It affects PHP. If you run it, CISA's required action is: Apply updates per vendor instructions.

exploitedYesCISA KEV · 25 Mar 2022
ransomwareNot knownno confirmed use
EPSStop 1%among the most likely CVEs to be exploited
severity9.8CVSS 3.1 · critical
US federal due15 Apr 2022BOD 22-01 deadline

What it is

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.

VendorPHP (3 exploited CVEs in KEV)
ProductPHP
VulnerabilityPHP-CGI Query String Parameter Vulnerability
WeaknessCWE-20
Published11 May 2012
Added to KEV25 Mar 2022
Reported by (CNA)certcc

What to do

  1. Check whether you run it. Look for PHP in your asset inventory, including appliances and cloud images. Stack check lists every exploited PHP CVE at once.
  2. Apply the fix. Apply updates per vendor instructions.
  3. If you can't patch today, take the affected service off the internet or restrict who can reach it, and check its logs for signs of compromise since 11 May 2012.
  4. Get told next time. Email alerts when CISA adds a CVE for PHP.

References

Questions

Is CVE-2012-1823 being exploited?

Yes. CISA added CVE-2012-1823 to the Known Exploited Vulnerabilities catalog on 25 Mar 2022, which means there is reliable evidence of exploitation in the wild.

Is CVE-2012-1823 used in ransomware attacks?

CISA does not list known ransomware use for it. That can change, and exploitation alone is reason to fix it first.

How do I fix CVE-2012-1823?

Apply updates per vendor instructions. Check PHP's advisory for the fixed versions, and if you can't patch quickly, restrict access to the affected PHP and watch it for signs of compromise.

Sources: CISA KEV (exploitation, ransomware use, required action, due date), the CVE record (publication date, CVSS, CNA), NVD and FIRST EPSS (live score). More: all KEV additions in March 2022 · PHP scorecard · act-now radar.

Running PHP in a regulated environment?

We check exposure across your estate, patch or mitigate with your team, and set up detection for what attackers do after exploiting it.

Get in touch →