7.5 CVE-2012-2311
Enriched by CISA
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.
https://nvd.nist.gov/vuln/detail/CVE-2012-2311
Categories
CWE-89
References
af854a3a-2127-422b-91ae-364da2661108
secalert@redhat.com
AFFECTED (from MITRE)
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a |
|
| © 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. | ||
CPE
| cpe | start | end |
|---|---|---|
| Configuration 1 | ||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | <= 5.3.12 | |
| cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.14:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.15:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.17:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:4.4.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.12:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.13:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.14:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.15:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.16:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.2.17:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.3.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.4.2:*:*:*:*:*:*:* | ||
REMEDIATION
EXPLOITS
Exploit-db.com
| id | description | date | |
|---|---|---|---|
| No known exploits | |||
POC Github
| Url |
|---|
| No known exploits |
Other Nist (github, ...)
| Url |
|---|
| No known exploits |
CAPEC
Common Attack Pattern Enumerations and Classifications
| id | description | severity |
|---|---|---|
| No entry | ||
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.
