CVE-2012-0392: The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers…

CVE-2012-0392 affects 30 listed versions of Apache Struts in the Dawnsentry catalogue.

6.8CVSS medium
Proof of concept publicexploitation
98%EPSS (next 30 days)
8 January 2012published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Struts

30 of 125 listed versions are affected. Fixed in 2.3.1. The newest release, 7.5.1, is not affected.

2.2.3.1 2.2.3 2.2.1.1 2.2.1 2.1.8.1 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.1 2.0.14 2.0.13 2.0.12 2.0.11.2 2.0.11.1 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2

What it is

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.

AV:N/AC:M/Au:N/C:P/I:P/A:P (NVD)

Published by MITRE on 8 January 2012. Last changed 16 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2012-0392 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.