Description
Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
Apache Struts includeParams Remote Code Execution
exploit/multi/http/struts_include_params
Exploit-DB 1
- Apache Struts - includeParams Remote Code Execution (Metasploit) EDB-25980 · remote · Jun 5, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.3.14.2 | 2.3.14.2 | GHSA-737w-mh58-cxjp |
| Maven | org.apache.struts.xwork:xwork-core | >= 2.0.0, < 2.3.14.2 | 2.3.14.2 | GHSA-737w-mh58-cxjp |