WaratekVRT Sign in

CVE-2012-1592 Apache Struts

Affected softwareApache Struts
Severity8.8 High CVSS 3.1 2 scores
Fixed in2.5.22
WeaknessUnrestricted file upload (CWE-434)
Published5 Dec 2019
Updated16 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2012-03-23.
  • EPSS 29% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload 2012-03-23

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (redhat-cve tier): https://access.redhat.com/security/cve/cve-2012-1592. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://access.redhat.com/security/cve/cve-2012-1592 : a Red Hat CVE page: the weakest kind, naming no commit, though it shows Red Hat has looked at the CVE

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.5 none AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.struts:struts2-core 2.0 2.5.22 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache struts generic 2.0.0
osv org.apache.struts struts2-core generic ≥ 2.0 and < 2.5.22

References

URLTags
https://access.redhat.com/security/cve/cve-2012-1592 redhat-cve
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592 WEB
https://github.com/apache/struts PACKAGE
https://github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml#L39-L76 WEB
https://issues.apache.org/jira/browse/WW-5055 WEB
https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2%40%3Cissues.struts.apache.org%3E WEB
https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2@%3Cissues.struts.apache.org%3E WEB
https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc%40%3Cissues.struts.apache.org%3E WEB
https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc@%3Cissues.struts.apache.org%3E WEB
https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b%40%3Cissues.struts.apache.org%3E WEB

Timeline

Published2019-12-05By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.