VDB
CVE-2012-1823
CVE-2012-1823
PUBLISHED
CVSS 9.8 CRITICAL
Reported by certcc · Published May 11, 2012
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.
Risk scores
CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 4, 2012 PoC Published (59 in total, the first dated here)
- May 11, 2012 CVE Published
- Jun 19, 2012 VulnCheck KEV Exploitation (47 in total, the first dated here)
- Sep 8, 2015 VulnCheck XDB Entry (5 in total, the first dated here)
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 25, 2022 CISA KEV Added
- Mar 27, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 27, 2026 Security Advisory (12 in total, the first dated here)
- Oct 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-1823
vulnetix vdb fixes CVE-2012-1823
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-1823/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- SSRT100856 vendor-advisory
- SUSE-SU-2012:0604 vendor-advisory
- 1027022 vdb-entry
- HPSBMU02786 vendor-advisory
- MDVSA-2012:068 vendor-advisory
- openSUSE-SU-2012:0590 vendor-advisory
- RHSA-2012:0546 vendor-advisory
- RHSA-2012:0568 vendor-advisory
- RHSA-2012:0569 vendor-advisory
- 49014 third-party-advisory
- RHSA-2012:0570 vendor-advisory
- SUSE-SU-2012:0598 vendor-advisory
- VU#673343 third-party-advisory
- RHSA-2012:0547 vendor-advisory
- APPLE-SA-2012-09-19-2 vendor-advisory
- 49065 third-party-advisory
…and 11 more