Remote code executionin the org.apache.struts:struts2-core package.
Weaponized: a Nuclei exploit is public.
The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.
- Upgrade org.apache.struts:struts2-core (Maven) to 2.2.3.1 or later.
- Upgrade org.apache.struts.xwork:xwork-core (Maven) to 2.2.3.1 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
- 8 Jan 2012CVE ID reserved by mitre.
- 8 Jan 2012Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
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
- archives.neohapsis.com mailing-list, x_refsource_BUGTRAQ
- struts.apache.org x_refsource_CONFIRM
- struts.apache.org x_refsource_CONFIRM
- www.sec-consult.com x_refsource_MISC
- lists.immunityinc.com mailing-list, x_refsource_MLIST
- secunia.com third-party-advisory, x_refsource_SECUNIA
Patchminder. CVE-2012-0392: Remote code execution in the org.apache.struts:struts2-core package. https://patchminder.com/cve/cve-2012-0392/ (accessed 5 December 2026).