CVE-2012-0392
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.
Exploit likelihood
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 Medium
AV: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
| Package | Affected | Fixed |
|---|---|---|
org.apache.struts:struts2-coreMaven |
before 2.2.3.1 | 2.2.3.1 |
org.apache.struts.xwork:xwork-coreMaven |
before 2.2.3.1 | 2.2.3.1 |
org.apache.struts:struts2-coreMaven |
before 2.2.3.1, plus listed versions 2.0.112.0.11.12.0.11.22.0.122.0.14 Show 11 moreShow less2.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-coreMaven |
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.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities | 2012-01-06 |
| Nuclei | Apache Struts2 S2-008 RCE |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
exploit-db.com/exploits/18329
archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
struts.apache.org/2.x/docs/version-notes-2311.html
struts.apache.org/2.x/docs/s2-008.html
sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html
Show 7 moreShow less
secunia.com/advisories/47393
nvd.nist.gov/vuln/detail/CVE-2012-0392
github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e
web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
web.archive.org/web/20140723153720/http://secunia.com/advisories/47393
github.com/advisories/GHSA-2ppp-xj34-vvf7
github.com/apache/struts