Description
A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libstruts1.2-java | libstruts1.2-java | 1.2- | — |
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.
Exploit-DB 1
- Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload EDB-37009 · webapps · Mar 23, 2012 · 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, < 2.5.22 | 2.5.22 | GHSA-8m5q-crqq-6pmf |
References
- https://security-tracker.debian.org/tracker/CVE-2012-1592
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592
- https://access.redhat.com/security/cve/cve-2012-1592
- http://www.openwall.com/lists/oss-security/2012/03/28/12
- [struts-issues] 20200122 [jira] [Created] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list
- [struts-issues] 20200123 [jira] [Closed] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list
- [struts-issues] 20200903 [jira] [Commented] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list