critical Known exploitedREV. 01

CVE-2012-1823PHP-CGI — Query String Becomes Interpreter Arguments

A web server that runs the scripting language (PHP) as a separate program passes the query string straight to it, so a request can hand the interpreter command-line switches and make it run attacker code.

YOUR NEXT MOVE

Upgrade to 5.3.12 or 5.4.2, or stop serving the interpreter as a gateway script.

Read the risk

THE VITAL STATS
CVSS score
9.8/ 10
CVSS v3.1
EPSS probability
100%
Likelihood of exploitation
Attack complexity
Low
Conditions needed to exploit
Known exploited
Yes — CISA KEV
CVE published
2012-05-11
Added to KEV
2022-03-25
Exploit published
Yes
Confidence
high
Kill chain
initial access
MITRE ATT&CK
T1190, T1059
Severity
critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attacker needsA server exposing the interpreter as a gateway script

Fixed inPHP 5.3.12, PHP 5.4.2

Behind the card

5 REFERENCES
Field-level provenanceTRACE THE SOURCES +

Which source supports each field, when it was retrieved, and who extracted it.

FieldsSourceRetrievedExtractorConfidence
cvss, exploitation.attack_complexity, exploitation.exploit_available, references, published_atnvd.nist.gov2026-08-07scrty-crds-pipeline/0.1high
exploitation.known_exploited, exploitation.kev_addedcisa.gov2026-08-07scrty-crds-pipeline/0.1high
epssapi.first.org2026-08-07scrty-crds-pipeline/0.1high
title, summary, severity, remediation, mitre_attack, kill_chain, recommended_action, confidence, tags, exploitation.prerequisitesnvd.nist.gov2026-08-07claude-codehigh

Printing history

THE RECORD
  1. r1Initial base card

First printing. This card has not been reprinted since publication.

crds:cve-2012-1823 · CRDS 0.1 · Issued 2026-08-07