Vulnerability in PHP
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 improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.337, 98.4th percentile (scored ); up from 0.322 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.322 · newest: 0.337 · change: +0.014
Affected products
- PHP — versions 5.3.12, 5.4.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.php.net/bug.php (Vendor Advisory)
- SUSE-SU-2012:0721 (vendor-advisory)
- SUSE-SU-2012:0840 (vendor-advisory)
- secunia.com/advisories/49014 (third-party-advisory)
- git.php.net/
- SSRT100992 (vendor-advisory)
- eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
- VU#520827 (US Government Resource, third-party-advisory)
- www.php.net/archive/2012.php
- php-phpwrapperfcgi-code-exec(75652) (vdb-entry)