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-2311 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

No CVSS 3.x data is available for this CVE.

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)
http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/ CVE
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html CVE
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00002.html CVE
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html CVE
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html CVE

see all 34 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')[email protected]

Affected Products

ProductVersions
php php
<= 5.3.12
1.0
2.0
2.0b10
3.0

CPE

  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  • 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

  • No remediation found in references.

Change History

9 change records found show changes


QUICK INFO

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