Apache Struts 2
Apache Struts 2 Improper Input Validation Vulnerability
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 2.2.3.1
Fixed in 2.2.3.1
from GitHub Security Advisory GHSA-4wrr-9h5r-m92w
- < 2.2.3.1
Fixed in 2.2.3.1
from GitHub Security Advisory GHSA-4wrr-9h5r-m92w
Mitigation
Upgrade org.apache.struts:struts2-core to 2.2.3.1 or later.
Upgrade org.apache.struts.xwork:xwork-core to 2.2.3.1 or later.
Timeline
Days relative to CVE publicationFirst public PoC 2.6 days before publication; added to CISA KEV 10.0 years after publication. First PoC: Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities (Exploit-DB, 6 Jan 2012).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | 18329 | unknown | 14 Nov 2026 |
| Exploit-DB | Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities | 6 Jan 2012 | 14 Nov 2026 |
| Exploit-DB | Apache Struts 2.2.1.1 - Remote Command Execution (Metasploit) | 5 Jun 2012 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Apache Struts Remote Command Execution (exploit/multi/http/struts_code_exec_exception_delegator) | 3 Jun 2012 | 14 Nov 2026 |