CVE-2012-0393

Apache Struts <2.3.1.1 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-0393. PoCs published by SEC Consult.

AI-analyzed exploit summary The exploit demonstrates multiple critical vulnerabilities in Apache Struts2, including remote command execution via ExceptionDelegator, CookieInterceptor, and DebuggingInterceptor, as well as arbitrary file overwrite via ParametersInterceptor. These vulnerabilities arise from OGNL expression injection and improper parameter filtering.

Description

The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.

Exploits (1)

exploitdb WORKING POC VERIFIED
by SEC Consult · textwebappsmultiple
https://www.exploit-db.com/exploits/18329

The exploit demonstrates multiple critical vulnerabilities in Apache Struts2, including remote command execution via ExceptionDelegator, CookieInterceptor, and DebuggingInterceptor, as well as arbitrary file overwrite via ParametersInterceptor. These vulnerabilities arise from OGNL expression injection and improper parameter filtering.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache Struts2 (2.3.1 and below)
No auth needed
Prerequisites: Target application using vulnerable Struts2 version · Access to crafted HTTP requests or headers
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/18329
Exploit, Third Party Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
Vendor Advisory x_refsource_confirm
http://struts.apache.org/2.x/docs/version-notes-2311.html
Vendor Advisory x_refsource_confirm
http://struts.apache.org/2.x/docs/s2-008.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47393

Scores

EPSS 0.7363
EPSS Percentile 98.8%

Details

CWE
CWE-264
Status published
Products (3)
apache/struts 2.1.0 - 2.3.1.1
org.apache.struts/struts2-core 0 - 2.3.1.1Maven
org.apache.struts.xwork/xwork-core 0 - 2.2.3.1Maven
Published Jan 08, 2012
Tracked Since Feb 18, 2026