Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2012-1592 EUVD-2022-1679GHSA-8m5q-crqq-6pmf

Unrestricted Upload of File with Dangerous Type in Apache Struts2

Published Dec 5, 2019 · Updated Aug 6, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
libstruts1.2-java libstruts1.2-java 1.2- —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core >= 2.0, < 2.5.22 2.5.22 GHSA-8m5q-crqq-6pmf

References