CVE-2012-1823
Exploitation confirmed. First attested on 2022-03-25 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2012-05-11
- WeaknessCWE-77
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Timeline
dates in UTC- 2012-05-1110:15CVE publishedNVD
- 2022-03-25Listed as exploited by GCVEGCVE
- 2022-03-25Exploitation first reportedCISA KEV
- 2022-03-25Added to the CISA KEV catalogCISA KEV
- 2025-02-0713:10SSVC exploitation set to activeCISA-ADP
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
- 2026-10-2319:23EPSS crossed 10 %FIRST EPSS
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2012-1823?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2012-1823?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.6 | = 5.6 | no fix published | NVD |
| 6.1 | = 6.1 | no fix published | NVD |
| 6.2 | = 6.2 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.8 | ≥ 10.8.0, < 10.8.2 | 10.8.2 | NVD |
| 10.x | ≥ 10.6.8, < 10.7.5 | 10.7.5 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
| 40.x | = 40 | no fix published | NVD |
14 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Fix
- CISA’s required action: Apply updates per vendor instructions.due 2022-04-15
Advisories and patches
- www.php.netPatch · Release Notes
- www.php.netRelease Notes
- bugs.php.netPatch
- bugs.php.netPatch
- lists.fedoraproject.orgRelease Notes
- lists.fedoraproject.orgRelease Notes
Detection
read 2026-10-23 19:23 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 16 repositories, unverifieddrone789/CVE-2012-1823tardummy01/oscp_scripts-1Unix13/metasploitable2cyberharsh/PHP_CVE-2012-18230xl0k1/CVE-2012-1823 PoC-in-GitHub
CISA Known Exploited Vulnerability
- Date Added
- 2022-03-25
- Patch Due Date
- 2022-04-15
- Ransomware Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
Sources
- CISA KEVKEV entry2022-03-25
- GCVEexploitation2022-03-25
- CISA-ADPSSVC decisionactive2025-02-07
- OpenCVESSVC decisionactive—
- CISA-ADPCVSS 3.19.82025-02-07
- NVDCVSS 2.07.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-772025-02-07
- NVDweakness (CWE)CWE-77read 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-10-23
- PoC-in-GitHubproof of concept16read 2026-10-23
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2012-05-11
- Last Modified
- 2026-06-16
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2012-1823?
Is CVE-2012-1823 actively exploited?
What is the CVSS score for CVE-2012-1823?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.