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.322 (98.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.325 · newest: 0.322 · change: -0.003
Affected products
- PHP — versions 5.3.12, 5.4.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.php.net/bug.php (Vendor Advisory)
- lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html (vendor-advisory)
- secunia.com/advisories/49014 (third-party-advisory)
- git.php.net/
- h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay (vendor-advisory)
- eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
- www.kb.cert.org/vuls/id/520827 (US Government Resource, third-party-advisory)
- www.php.net/archive/2012.php
- exchange.xforce.ibmcloud.com/vulnerabilities/75652 (vdb-entry)
Frequently asked questions
- What is CVE-2012-2335?
- CVE-2012-2335 is a vulnerability in PHP, classified under CWE-264. Published 2012-05-11.
- Is CVE-2012-2335 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.