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.

EPSS: 0.325 (98.2th percentile) — read the EPSS interpretation.

Affected products

  • Php — versions 5.3.12, 5.4.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.