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 improp...
HighCVSS 7.5
EPSS 33.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.3.12 | No fix listed |
| PHP | = 5.4.2 | No fix listed |
References
- eindbazen.net
- git.php.net
- SUSE-SU-2012:0721 vendor-advisory
- SUSE-SU-2012:0840 vendor-advisory
- 49014 third-party-advisory
- VU#520827 third-party-advisory us-government-resource
- www.php.net
- bugs.php.net vendor-advisory
- php-phpwrapperfcgi-code-exec(75652) vdb-entry
- SSRT100992 vendor-advisory