First published: Fri May 11 2012(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.3.12 | |
PHP | =5.4.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-2335 is considered a critical vulnerability due to its potential for remote code execution.
To mitigate CVE-2012-2335, upgrade PHP to versions later than 5.4.2, which include security patches.
CVE-2012-2335 affects PHP versions 5.3.12 and 5.4.2 specifically.
Yes, CVE-2012-2335 allows remote attackers to execute arbitrary code by exploiting command-line argument handling.
CVE-2012-2335 involves the PHP sapi/cgi/cgi_main.c component and the improper handling of query strings.