Patchfirst
CVE-2012-2311 Public exploit EPSS 69.3%

sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does…

Official description · CVE.org

sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.

Breakdown
60.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 2 days before it was disclosed. Public exploit code (Exploit-DB) was available 7 days before disclosure.

  1. Public exploit codeExploit-DB7 days before
  2. First seen exploitedVulnCheck KEV evidence2 days before
  3. Disclosedday 0

See the family tree

A fix was bypassed or incomplete 2 times on the same day.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2012-1823PHP-CGI Query String Parameter11 May 2012KEV
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
    This CVECVE-2012-2311sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3…11 May 2012
  3. same family
    CVE-2012-2336sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3…11 May 2012

techniques

No techniques linked

No high- or medium-confidence techniques. The 1 available link are lower confidence and listed below.

Lower-confidence links (1)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploitation for Client ExecutionT1203 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

17 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close