Back
CVE-2012-2335
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP…
High7.5EPSS 33.7%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 33.7% · top 1.6% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (10)
- https://bugs.php.net/bug.php?id=61910 (opens in a new tab)x_refsource_MISCx_transferred
- SUSE-SU-2012:0721 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SU-2012:0840 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 49014 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569 (opens in a new tab)x_refsource_MISCx_transferred
- SSRT100992 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/ (opens in a new tab)x_refsource_MISCx_transferred
- VU#520827 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- http://www.php.net/archive/2012.php#id2012-05-06-1 (opens in a new tab)x_refsource_MISCx_transferred
- php-phpwrapperfcgi-code-exec(75652) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .