CVE-2012-1823
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
redhat
commercial·USaka red hat
suse
commercial·DE
php
oss-project·USaka pecl, php language, pear
fedoraproject
oss-project·USaka fedora project
debian
oss-project·GBaka debian gnu/linux
hp
commercial·USaka hewlett packard, hpe
and 8 more affected products View all →
Exploitability
CISA Known Exploited Vulnerability
Added to KEV:Mar 25, 2022
Remediation due:Apr 15, 2022
Required action: Apply updates per vendor instructions.
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Execution
References
http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
eindbazen.net
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
h20000.www2.hp.com
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
lists.apple.com
and 36 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2012-1823 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
