WaratekVRT Sign in

CVE-2012-0392 Apache Struts

Affected softwareApache Struts
Severity6.8 Medium CVSS 2.0
Fixed in2.2.3.1
Published8 Jan 2012
Updated16 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 2 indexed Published artifacts you can open, in Exploit-DB, Nuclei; first seen 2012-01-06.
  • EPSS 98% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.9% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities 2012-01-06
Nuclei Apache Struts2 S2-008 RCE

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by 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.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.struts:struts2-core 0 2.2.3.1 unbounded
org.apache.struts.xwork:xwork-core 0 2.2.3.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected 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

References

URLTags
https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e WEB
https://github.com/apache/struts PACKAGE
https://lists.immunityinc.com/pipermail/dailydave/2012-January/000011.html WEB
https://web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt WEB
https://web.archive.org/web/20140723153720/http://secunia.com/advisories/47393 WEB
http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html WEB
http://struts.apache.org/2.x/docs/s2-008.html WEB
http://struts.apache.org/2.x/docs/version-notes-2311.html WEB
http://www.exploit-db.com/exploits/18329 WEB
http://secunia.com/advisories/47393 Third Party Advisory

Timeline

Published2012-01-08By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.