CVE-2012-2335Php
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | 5.3.12 |
| php | php | 5.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- eindbazen.net
- git.php.net
- lists.opensuse.org
- lists.opensuse.org
- secunia.com
- www.kb.cert.org US Government Resource
- www.php.net
- bugs.php.net Vendor Advisory
- exchange.xforce.ibmcloud.com
- h20564.www2.hp.com