Remote code executionin the org.apache.struts.xwork:xwork-core package.
Weaponized: a Metasploit exploit is public.
The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself.
- Upgrade org.apache.struts.xwork:xwork-core (Maven) to 2.3.18 or later.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Jan 2012Metasploit module: Apache Struts 2 Developer Mode OGNL Execution.
- 8 Jan 2012CVE ID reserved by mitre.
- 8 Jan 2012Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- struts.apache.org x_refsource_MISC
- struts.apache.org x_refsource_MISC
- archives.neohapsis.com mailing-list, x_refsource_BUGTRAQ
- www.sec-consult.com x_refsource_MISC
- www.osvdb.org vdb-entry, x_refsource_OSVDB
Patchminder. CVE-2012-0394: Remote code execution in the org.apache.struts.xwork:xwork-core package. https://patchminder.com/cve/cve-2012-0394/ (accessed 5 December 2026).