CVE-2012-2311

Scores

EPSS

0.745medium74.5%
0%20%40%60%80%100%

Percentile: 74.5%

CVSS

6.8medium2.0
0246810

CVSS Score: 6.8/10

All CVSS Scores

CVSS 2.0
6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdubuntu

CWEs

CWE-89

Related Vulnerabilities

Exploits

Exploit ID: 18834

Source: exploitdb

URL: https://www.exploit-db.com/exploits/18834

Exploit ID: 18836

Source: exploitdb

URL: https://www.exploit-db.com/exploits/18836

Exploit ID: 29290

Source: exploitdb

URL: https://www.exploit-db.com/exploits/29290

Exploit ID: 29316

Source: exploitdb

URL: https://www.exploit-db.com/exploits/29316

Vulnerable Software (3)

Type: Configuration

Product: php5

Operating System: debian

Trait:
{  "fixed": "5.4.3-1"}

Source: debian

Type: Configuration

Product: php5

Operating System: ubuntu hardy 8.04

Trait:
{  "fixed": "5.2.4-2ubuntu5.24"}

Source: ubuntu

Type: Configuration

Vendor: *

Product: php

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",      "versionEndIncluding": "5.3.12",      "vulnerable": true    },    {      "cpe23uri": "cpe:2.3:a:php:php:1.0:*:...

Source: nvd

End of list