Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2012-2311

74
FAUCET Score

CVE-2012-2311 is a critical remote code execution vulnerability affecting PHP versions before 5.3.13 and 5.4.3 when configured as a CGI script (php-cgi). It stems from an incomplete fix for CVE-2012-1823, allowing attackers to inject command-line options via specially crafted query strings containing "%3D" without an equals sign. This vulnerability carries a high CVSS score of 7.5, indicating a network-based attack with low complexity, requiring no authentication, and potentially leading to full compromise of confidentiality, integrity, and availability. Exploit code is publicly available on ExploitDB, including Metasploit modules, and it has seen significant community discussion and media coverage, with reports of active exploitation by malware like RubyMiner.

Impacted Technologies

VendorProductVersion(s)CPE
<= 5.3.12CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
1.0CPE matchmatch criteria
cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:*
2.0CPE matchmatch criteria
cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:*
2.0b10CPE matchmatch criteria
cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:*
3.0CPE matchmatch criteria
cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

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

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
69.56%
Probability of exploitation in next 30 days
EPSS Percentile
99.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
ExploitDB: EDB-29316 · Oct 31, 2013
This CVE's current EPSS score of 0.6956 is in the 99th percentile among its peer group of 51,506 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2012-2311Critical

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

May 3, 2012

References

eindbazen.net / 2012/05/php-cgi-advisory-cve-2012-1823
lists.apple.com / archives/security-announce/2012/Sep/msg00004.html
lists.opensuse.org / opensuse-security-announce/2012-05/msg00002.html
lists.opensuse.org / opensuse-security-announce/2012-05/msg00007.html
lists.opensuse.org / opensuse-security-announce/2012-05/msg00011.html
marc.info
bugs.php.net / bug.php
Vendor Advisory
bugs.php.net / patch-display.php
secunia.com / advisories/49014
secunia.com / advisories/49085
h20564.www2.hp.com / portal/site/hpsc/public/kb/docDisplay
support.apple.com / kb/HT5501
debian.org / security/2012/dsa-2465
kb.cert.org / vuls/id/520827
US Government Resource
php.net / archive/2012.php
php.net / ChangeLog-5.php
securitytracker.com / id