CVE-2012-0392The 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.
Working exploit published
A reviewed exploit catalogue carries this CVE. Somebody has published code a stranger can run.
CVSS E:P
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Exploit-DB | Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities | 2012-01-06 | |
| Nuclei | Apache Struts2 S2-008 RCE |
A defect of the type ARMR addresses, with a fix path to work from and a working exploit already published. This is a claim on attention, not a scheduling commitment: no rule exists and none is scheduled.
| Decided by | open-source-maven : The affected package being open source on Maven, so the fix can be read |
|---|---|
| Finding | This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on. |
AV:N/AC:M/Au:N/C:P/I:P/A:P
1 metric
VRT selects the newest version's highest entry and
publishes it as cvssScore, newest rather than largest because scores are not comparable
across versions, and highest rather than first because the first entry is frequently a CNA placeholder
scoring 0.0 over NVD's own analysis.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 2.0 | 6.8 | no band published | AV:N/AC:M/Au:N/C:P/I:P/A:P |
NVD | Primary | published |
| Package Coordinate | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.struts:struts2-core |
0 | 2.2.3.1 |
unbounded |
org.apache.struts.xwork:xwork-core |
0 | 2.2.3.1 |
unbounded |
| Source | Vendor | Product | Scheme | Affected Versions |
|---|---|---|---|---|
| nvd | apache | struts | generic | ≥ 2.0.0 and < 2.3.1 |
| osv | org.apache.struts | struts2-core | generic | < 2.2.3.1 |
| osv | org.apache.struts.xwork | xwork-core | generic | < 2.2.3.1 |
| Published | 2012-01-08 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |