Every CVE Search/ Get API key

CVE-2012-0392

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

6.8 MediumPublic exploitFix available

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.

Exploit likelihood

97.5%Up 83.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2012-0392
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-0392
Updated
2026-11-02
EUVDEUVD-2022-2028 No score

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.

Record
EUVD-2022-2028
Updated
2026-11-03
GitHub AdvisoriesGHSA-2ppp-xj34-vvf7 No score

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

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.

Record
GHSA-2ppp-xj34-vvf7
Updated
2026-11-02
OSVGHSA-2ppp-xj34-vvf7 No score

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

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.

Record
GHSA-2ppp-xj34-vvf7
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.struts:struts2-core
Maven
before 2.2.3.1
2.2.3.1
org.apache.struts.xwork:xwork-core
Maven
before 2.2.3.1
2.2.3.1
org.apache.struts:struts2-core
Maven
before 2.2.3.1, plus listed versions
2.0.112.0.11.12.0.11.22.0.122.0.14
Show 11 moreShow less
2.0.52.0.62.0.82.0.92.1.22.1.62.1.82.1.8.12.2.12.2.1.12.2.3
2.2.3.1
org.apache.struts.xwork:xwork-core
Maven
before 2.2.3.1, plus listed versions
2.2.12.2.1.12.2.3
2.2.3.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBApache Struts 2 < 2.3.1 - Multiple Vulnerabilities2012-01-06
NucleiApache Struts2 S2-008 RCE

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, Nuclei, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-0392 is a medium vulnerability (CVSS 6.8) in Apache Struts, published January 8, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 97.5%, the 99th percentile. Fixed in org.apache.struts:struts2-core 2.2.3.1.

References

Show 7 moreShow less
MoveEnter Open