Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2012-1592

CVE-2012-1592: Unrestricted Upload of File with Dangerous Type

April 23, 2022 (updated July 13, 2022)

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.

References

  • www.openwall.com/lists/oss-security/2012/03/28/12
  • access.redhat.com/security/cve/cve-2012-1592
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592
  • github.com/advisories/GHSA-8m5q-crqq-6pmf
  • github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml
  • issues.apache.org/jira/browse/WW-5055
  • lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2@%3Cissues.struts.apache.org%3E
  • lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc@%3Cissues.struts.apache.org%3E
  • lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b@%3Cissues.struts.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2012-1592
  • seclists.org/bugtraq/2012/Mar/110
  • security-tracker.debian.org/tracker/CVE-2012-1592
  • struts.apache.org/security/

Code Behaviors & Features

Detect and mitigate CVE-2012-1592 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0 before 2.5.22

Fixed versions

  • 2.5.22

Solution

Upgrade to version 2.5.22 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.apache.struts/struts2-core/CVE-2012-1592.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.