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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system.
- 18329 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Timeline
ID reserved
By mitre
Published
- 13 years later
· 13 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 97.5% · top 0.1% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
- n/a
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.struts.xwork:xwork-coreGHSA-2ppp-xj34-vvf7 (opens in a new tab)
- Mavenorg.apache.struts:struts2-coreGHSA-2ppp-xj34-vvf7 (opens in a new tab)
References (7)
- 18329 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 20120105 SEC Consult SA-20120104-0 :: Multiple critical vulnerabilities in Apache Struts2 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://struts.apache.org/2.x/docs/version-notes-2311.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://struts.apache.org/2.x/docs/s2-008.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt (opens in a new tab)x_refsource_MISCx_transferred
- [dailydave] 20120106 Apache Struts (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 47393 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2ppp-xj34-vvf7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-0392)Record last updated .