Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2012-1823 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-1823 CISA-ADPUS Government Resource
http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/ CVEBroken LinkExploit
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041 CVEBroken Link
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html CVEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00002.html CVEMailing ListThird Party Advisory

see all 60 references

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability NameDate AddedDue DateRequired Action
PHP-CGI Query String Parameter VulnerabilityMar 25, 2022Apr 15, 2022Apply updates per vendor instructions.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')[email protected]
CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')CISA-ADP

Affected Products

ProductVersions

Change History

19 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2012-1823
NVD Published Date:
May 11, 2012
NVD Last Modified:
Jun 16, 2026
Source:
[email protected]
CVE-2012-1823 Details - Not Deferred