patchminder
Weaponized · Metasploit CVE-2016-3087

Remote code executionin the org.apache.struts:struts2-core package.

Published 7 Jun 2016 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 81.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.3.20.3, 2.3.24.3, 2.3.28.1
In plain words

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 vectors related to an ! (exclamation mark) operator to the REST Plugin.

What to do now
  • Upgrade org.apache.struts:struts2-core (Maven) to 2.3.20.3, 2.3.24.3, 2.3.28.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
org.apache.struts:struts2-core (Maven)
2.3.19 to before 2.3.20.3
2.3.20.3
GitHub advisory
org.apache.struts:struts2-core (Maven)
2.3.21 to before 2.3.24.3
2.3.24.3
GitHub advisory
org.apache.struts:struts2-core (Maven)
2.3.25 to before 2.3.28.1
2.3.28.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 10 Mar 2016
    CVE ID reserved by redhat.
  2. 1 Jun 2016
    Metasploit module: Apache Struts REST Plugin With Dynamic Method Invocation Remote Code Execution.
  3. 7 Jun 2016
    Published in the CVE List.
  4. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
None known
Exploit-DBEDB-ID 43382remote exploit for multiple, published 6 Jun 2017
Exploit-DBEDB-ID 39919remote exploit for multiple, published 10 Jun 2016, verified by Exploit-DB
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2016-3087: Remote code execution in the org.apache.struts:struts2-core package. https://patchminder.com/cve/cve-2016-3087/ (accessed 5 December 2026).