Vulnerabilities · 2012 · Apache
CVE-2012-0392
Apache Struts vulnerability
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.
Affected products
Struts. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- struts.apache.org/2.x/docs/s2-008.html · Vendor Advisory
- struts.apache.org/2.x/docs/version-notes-2311.html · Vendor Advisory
- secunia.com/advisories/47393 · Third Party Advisory
- www.exploit-db.com/exploits/18329 · Exploit
- lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html · Exploit
- archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- nvd.nist.gov/vuln/detail/CVE-2012-0392
- cve.org/CVERecord?id=CVE-2012-0392
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.