Description
The ParametersInterceptor in Apache Struts before 2.3.16.2 allows remote attackers to "manipulate" the ClassLoader via the class parameter, which is passed to the getClass method.
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 ClassLoader Manipulation Remote Code Execution
exploit/multi/http/struts_code_exec_classloader
Exploit-DB 2
- Apache Struts - ClassLoader Manipulation Remote Code Execution (Metasploit) EDB-33142 · remote · May 2, 2014 · verified
- Apache Struts < 1.3.10 / < 2.3.16.2 - ClassLoader Manipulation Remote Code Execution (Metasploit) EDB-41690 · remote · Mar 6, 2014 · verified
GitHub 2 repositories
-
y0d3n/CVE-2014-0094 ★ 1 · Jun 14, 2023
-
HasegawaTadamitsu/CVE-2014-0094-test-program-for-struts1 ★ 1 · Apr 27, 2014
CVE-2014-0094 test program for struts1
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.16.2 | 2.3.16.2 | GHSA-vrwc-qjmw-5rjm |
| Maven | org.apache.struts.xwork:xwork-core | >= 2.0.0, < 2.3.16.2 | 2.3.16.2 | GHSA-vrwc-qjmw-5rjm |
References
- http://packetstormsecurity.com/files/127215/VMware-Security-Advisory-2014-0007.html
- 59178 third-party-advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0007.html
- http://www.konakart.com/downloads/ver-7-3-0-0-whats-new
- 20140306 [ANN] Struts 2.3.16.1 GA release available - security fix mailing-list
- http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html
- http://www.huawei.com/en/security/psirt/security-bulletins/security-advisories/hw-350733.htm
- JVN#19294237 third-party-advisory
- http://struts.apache.org/release/2.3.x/docs/s2-020.html
- JVNDB-2014-000045 third-party-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21676706
- 56440 third-party-advisory
- 1029876 vdb-entry
- 20140625 NEW VMSA-2014-0007 - VMware product updates address security vulnerabilities in Apache Struts library mailing-list
- 65999 vdb-entry