CVE-2012-1592
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
1.0
Description
Unrestricted Upload of File with Dangerous Type in Apache Struts2
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload
Source code queued for fetch โ refresh in a moment.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.struts:struts2-core | >=2.0,<2.5.22 | 2.5.22 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-1592
- https://access.redhat.com/security/cve/cve-2012-1592
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592
- https://github.com/apache/struts
- https://github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml#L39-L76
- https://issues.apache.org/jira/browse/WW-5055
- https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2%40%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2@%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc%40%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc@%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b%40%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b@%3Cissues.struts.apache.org%3E
- https://seclists.org/bugtraq/2012/Mar/110
- https://security-tracker.debian.org/tracker/CVE-2012-1592
- https://struts.apache.org/security/#internal-security-mechanism
- https://www.openwall.com/lists/oss-security/2012/03/28/12
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.