CVE-2012-2311
- State
- Published
- Severity
- Not scored
- Published
- May 11, 2012
- Updated
- Aug 6, 2024
- Reserved
- Apr 19, 2012
Description
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- SSRT100856vendor-advisory
- SUSE-SU-2012:0604vendor-advisory
- 1027022vdb-entry
- openSUSE-SU-2012:0590vendor-advisory
- https://bugs.php.net/patch-display.php?bug_id=61910&patch=cgi.diff-fix-check.patch&revision=1336093719&display=1
- 49014third-party-advisory
- SUSE-SU-2012:0598vendor-advisory
- https://bugs.php.net/bug.php?id=61910
- http://www.php.net/archive/2012.php#id2012-05-08-1
- APPLE-SA-2012-09-19-2vendor-advisory
- http://support.apple.com/kb/HT5501
- SSRT100992vendor-advisory
- http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
- VU#520827third-party-advisory
- DSA-2465vendor-advisory
- 49085third-party-advisory
- http://www.php.net/ChangeLog-5.php#5.4.3
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.