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
Affected Vendors & Products
References
History
Tue, 13 Aug 2024 23:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
MITRE
Status: PUBLISHED
Assigner: certcc
Published: 2012-05-11T10:00:00
Updated: 2024-08-06T19:08:38.505Z
Reserved: 2012-03-21T00:00:00
Link: CVE-2012-1823
Vulnrichment
No data.
NVD
Status : Modified
Published: 2012-05-11T10:15:48.043
Modified: 2024-11-21T01:37:50.887
Link: CVE-2012-1823
Redhat