🛡️ CVE-2012-1592 — struts2-core

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-434 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-434
Public Exploit ✅ No
Source OSV
Published 2022-04-23
Updated 2026-08-12
Modified 2023-11-08
Fix URL N/A

Affected Packages

Software From version Fixed in
org.apache.struts:struts2-core 2.0 2.5.22

References

Similar Threats

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.