CVE-2012-1592Struts Unrestricted File Upload
Unrestricted Upload of File with Dangerous Type in Apache Struts2
Published Apr 23, 2022 · Updated Aug 6, 2024 · Also known as GHSA-8m5q-crqq-6pmf
Key Facts
Patch immediately- CVE-2012-1592 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Struts (Apache), org.apache.struts:struts2-core (maven), seal.sp1.org.apache.struts:struts2-core and 1 more product.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 29% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.apache.struts:struts2-core 2.5.10+sp999, org.apache.struts:struts2-core 2.5.22, seal.sp1.org.apache.struts:struts2-core 2.5.10+sp999.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
29%
Higher than 98.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://access.redhat.com/security/cve/cve-2012-1592
- advisoryhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2012-1592
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2012-1592
- advisoryGHSA advisory
- advisoryhttp://www.openwall.com/lists/oss-security/2012/03/28/12
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
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| StrutsApache | 2.0.0 | n/a |
| org.apache.struts:struts2-coremaven | >= 2.0 | 2.5.22 |
| seal.sp1.org.apache.struts:struts2-coreseal | See advisory | 2.5.10+sp999 |
| libstruts1.2-java | >= 1.2- | n/a |
Patched Releases
org.apache.struts:struts2-core
2.5.10+sp999, 2.5.22
seal.sp1.org.apache.struts:struts2-core
2.5.10+sp999
Timeline
Publicly disclosed
Apr 23, 2022
Last updated
Aug 6, 2024
Weakness Type
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- advisoryaccess.redhat.com · CVE-2012-1592
- advisorybugzilla.redhat.com · show_bug.cgi
- advisorynvd.nist.gov · CVE-2012-1592
- advisorysecurity-tracker.debian.org · CVE-2012-1592
- advisoryGHSA advisory
FAQ
Common Questions.
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: Struts (Apache) versions 2.0.0; org.apache.struts:struts2-core (maven) versions >= 2.0; seal.sp1.org.apache.struts:struts2-core, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including org.apache.struts:struts2-core 2.5.10+sp999, org.apache.struts:struts2-core 2.5.22, seal.sp1.org.apache.struts:struts2-core 2.5.10+sp999.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2012-1592 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo