Skip to content
Emerging threatsMedium

CVE-2012-0392Struts Vulnerability

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

Published Jan 8, 2012 · Updated Dec 5, 2024 · Also known as GHSA-2ppp-xj34-vvf7

Key Facts

Patch immediately
  • CVE-2012-0392 is a medium-severity vulnerability (CVSS 6.8 v2) affecting Struts (Apache), org.apache.struts:struts2-core (maven), org.apache.struts.xwork:xwork-core (maven).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 98% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Struts 2.3.1, org.apache.struts:struts2-core 2.2.3.1, org.apache.struts.xwork:xwork-core 2.2.3.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

6.8

AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS (30-day exploit likelihood)

98%

Higher than 99.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

52/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
StrutsApacheSee advisory2.3.1
org.apache.struts:struts2-coremavenSee advisory2.2.3.1
org.apache.struts.xwork:xwork-coremavenSee advisory2.2.3.1

Patched Releases

Struts

2.3.1

org.apache.struts:struts2-core

2.2.3.1

org.apache.struts.xwork:xwork-core

2.2.3.1

Timeline

  1. Publicly disclosed

    Jan 8, 2012

  2. Last updated

    Dec 5, 2024

References

11 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-0392 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.