All vulnerabilities

Servers and applications

CVE-2012-2335

php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.

Severity
High 7.5
Published
11 May 2012
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
34% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.3.12
  • Version 5.4.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-2335
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-2335