PoC Monitor
← All CVEs
CVE-2016-3081published 26 Apr 2016 14:00 UTCData: JSON · API

Apache Struts

Apache Struts Command Injection Vulnerability

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.

First public PoC 4.1 daysafter publication · 30 Apr 2016 · Metasploit
Public PoCs30 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS8.1high · scored by CISA ADP · CWE-77
CISA KEV 8 Oct 202610.5 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.apache.struts:struts2-core (Maven)
  • >= 2.3.19, < 2.3.20.3

Fixed in 2.3.20.3

from GitHub Security Advisory GHSA-8c6j-ffmf-q6vm

org.apache.struts:struts2-core (Maven)
  • >= 2.3.21, < 2.3.24.3

Fixed in 2.3.24.3

from GitHub Security Advisory GHSA-8c6j-ffmf-q6vm

org.apache.struts:struts2-core (Maven)
  • >= 2.3.25, < 2.3.28.1

Fixed in 2.3.28.1

from GitHub Security Advisory GHSA-8c6j-ffmf-q6vm

Mitigation

Upgrade org.apache.struts:struts2-core to 2.3.20.3 or later.

Upgrade org.apache.struts:struts2-core to 2.3.24.3 or later.

Upgrade org.apache.struts:struts2-core to 2.3.28.1 or later.

Timeline

Days relative to CVE publication
t=0+2 y+4 y+6 y+8 y+10 yCVE published26 Apr 2016 · t = 0First public PoC30 Apr 2016 · t+4.1dAdded to CISA KEV8 Oct 2026 · t+10.5y

First public PoC 4.1 days after publication; added to CISA KEV 10.5 years after publication. First PoC: Metasploit exploit: Apache Struts Dynamic Method Invocation Remote Code Execution (exploit/multi/http/struts_dmi_exec) (Metasploit, 30 Apr 2016).

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
nikamajinkya/Sn1p3r 12 Aug 2016 +108 d 8 Informational · list

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.