🛡️ CVE-2012-1592 — struts2-core
Description
Unrestricted Upload of File with Dangerous Type in Apache Struts2
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. A patch exists as of version 2.5.22.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2012-1592 is classified as CWE-434: Unrestricted Upload of File with Dangerous Type. Uploads are accepted without restricting type, so an executable file can be placed where the server will run it.
Affected software
CVE-2012-1592 is recorded against 1 package.
- org.apache.struts:struts2-core (from 2.0 up to 2.5.22)
Timeline and source
Published on 23 April 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
access.redhat.com (Web)
bugzilla.redhat.com (Web)
github.com (Package)
github.com (Web)
issues.apache.org (Web)
lists.apache.org (Web)
lists.apache.org (Web)
lists.apache.org (Web)
lists.apache.org (Web)
lists.apache.org (Web)
lists.apache.org (Web)
seclists.org (Web)
security-tracker.debian.org (Web)
struts.apache.org (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.apache.struts:struts2-core | 2.0 | 2.5.22 |
References
Similar Threats
- Unknown CLSA-2025-1754006617
- Unknown CLSA-2026-1782781173
- Unknown CVE-2008-6505
- Unknown CVE-2008-6682
- Low CVE-2011-1772
More CVE 2012 advisories
Browse all of CVE 2012 in the advisory index.
Site Security Check
Is struts2-core part of your stack?
CVE-2012-1592 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.