patchminder
Weaponized · Metasploit CVE-2019-0230

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

Published 14 Sep 2020 · Updated 4 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.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 96.9% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.22 or later
In plain words

Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

What to do now
  • Upgrade org.apache.struts:struts2-core (Maven) to 2.5.22 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Struts
Not confirmed
Not confirmed
CVE record
org.apache.struts:struts2-core (Maven)
2.0.0 to before 2.5.22
2.5.22
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. 14 Nov 2018
    CVE ID reserved by apache.
  2. 13 Aug 2020
    First public proof of concept on GitHub.
  3. 14 Sep 2020
    Published in the CVE List.
  4. 14 Sep 2020
    Metasploit module: Apache Struts 2 Forced Multi OGNL Evaluation.
  5. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
4 repositories
Exploit-DBEDB-ID 49068remote exploit for jsp, published 17 Nov 2020
GitHubno warning signs foundramoncjs3/CVE-2019-023034 stars · created 20 Aug 2020CVE-2019-0230 & s2-059 poc.
GitHubno warning signs foundPrinceFPF/CVE-2019-023015 stars · created 13 Aug 2020CVE-2019-0230 Exploit POC
GitHubno warning signs foundAl1ex/CVE-2019-02309 stars · created 11 Dec 2020S2-059(CVE-2019-0230)
GitHubno warning signs foundf8al/CVE-2019-0230-PoC1 stars · created 22 Oct 2020PoC for apache struts 2 vuln cve-2019-0230

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-2019-0230: Remote code execution in the org.apache.struts:struts2-core package. https://patchminder.com/cve/cve-2019-0230/ (accessed 5 December 2026).