Live threats

All CVEs / Php

CVE-2012-2335Php

High 7.5 No auth neededHigh EPSS

Priority
63
CVSS 2.0
7.5
EPSS
33.7%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
May 11, 2012
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp5.3.12
phpphp5.4.2

Official sources

References

Links published by the sources. Open them with care.