Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2012-2311

php: incomplete CVE-2012-1823 fix - incorrect check for =

Overview

Published
11 May 2012
Modified
29 Apr 2026
High CVE
0 Registry packages
116 OS packages
1 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

Weakness: CWE-89

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 2 fixes

openSUSE 1 release · 2 packages

fixed 2
apache2-mod-php5 apache2-mod-php7
openSUSE fixes for CVE-2012-2311
ReleasePackageFixed inAdvisory
Tumbleweed apache2-mod-php5 +58 5.6.28-1.1 openSUSE-SU-2024:10344-1
Tumbleweed apache2-mod-php7 +56 7.0.14-1.4 openSUSE-SU-2024:10290-1

References

Show all 23 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.