CVE-2012-0392: Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

CVE-2012-0392 · Severity: info · Published 2022-05-04

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

Technologies: org.apache.struts:struts2-core (Maven), org.apache.struts.xwork:xwork-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2012-0392 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-0392 being exploited in the wild.
How severe is CVE-2012-0392?
Informational severity, published 4 May 2022.
Which products and versions are affected?
org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=0,fixed=2.2.3.1; org.apache.struts.xwork:xwork-core (Maven) ECOSYSTEM:introduced=0,fixed=2.2.3.1.
Is there a fix for CVE-2012-0392?
Yes. org.apache.struts:struts2-core (Maven): upgrade to 2.2.3.1 or later; org.apache.struts.xwork:xwork-core (Maven): upgrade to 2.2.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2012-0392?
Check whether you run org.apache.struts:struts2-core (Maven) or org.apache.struts.xwork:xwork-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.struts:struts2-core (Maven): upgrade to 2.2.3.1 or later
    # set org.apache.struts:struts2-core to 2.2.3.1 in your pom.xml or build.gradle
  • org.apache.struts.xwork:xwork-core (Maven): upgrade to 2.2.3.1 or later
    # set org.apache.struts.xwork:xwork-core to 2.2.3.1 in your pom.xml or build.gradle

Affected products

  • org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=0,fixed=2.2.3.1
  • org.apache.struts.xwork:xwork-core (Maven) ECOSYSTEM:introduced=0,fixed=2.2.3.1

Identifiers

  • CVE-2012-0392
  • GHSA-2ppp-xj34-vvf7

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.