CVE-2012-1592

HIGH

Apache Struts 2.0-2.5.22 - Unrestricted Upload of File with Dangerous Type via Malformed XSLT Processing

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-1592. PoCs published by voidloafer.

AI-analyzed exploit summary This exploit leverages a remote arbitrary file-upload vulnerability in Apache Struts2 by using OGNL injection to execute arbitrary commands (e.g., 'calc') via an XSL stylesheet. The vulnerability arises from insufficient input sanitization, allowing attackers to run code in the context of the webserver process.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by voidloafer · xmlwebappsjava
https://www.exploit-db.com/exploits/37009

This exploit leverages a remote arbitrary file-upload vulnerability in Apache Struts2 by using OGNL injection to execute arbitrary commands (e.g., 'calc') via an XSL stylesheet. The vulnerability arises from insufficient input sanitization, allowing attackers to run code in the context of the webserver process.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Apache Struts2 (versions affected by CVE-2012-1592)
No auth needed
Prerequisites: Access to a vulnerable Struts2 application with file upload functionality
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 8.8
EPSS 0.0059
EPSS Percentile 69.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-434
Status published
Products (2)
apache/struts 2.0.0
org.apache.struts/struts2-core 2.0 - 2.5.22Maven
Published Dec 05, 2019
Tracked Since Feb 18, 2026