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 trend (30 days)EPSS over the last 30 days for CVE-2012-2335: rose from 0.322 to 0.337.

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