Patchfirst
CVE-2012-1006 Public exploit EPSS 56.6%

Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject…

Fix:upgrade struts2-parent to 2.2.3.1 or later Details ↓

Summary

Multiple cross-site scripting flaws exist in Apache Struts 2.0.14 and 2.2.3, in the struts2-showcase and struts2-rest-showcase example applications via the name, lastName, and clientName parameters. A remote attacker can inject arbitrary web script or HTML through these parameters.

Official description · CVE.org

Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script or HTML via the (1) name or (2) lastName parameter to struts2-showcase/person/editPerson.action, or the (3) clientName parameter to struts2-rest-showcase/orders.

Breakdown
24.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Exploit-DB) was available 5 days before disclosure.

  1. Public exploit codeExploit-DB5 days before
  2. Disclosedday 0

3 fixes in struts2-parent over 6 years. The latest fix listed for struts2-parent is 2.3.20.

Fixes in struts2-parentMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.2.3CVE-2011-208713 May 2011
  2. 2.2.3.1CVE-2012-10067 Feb 2012
  3. 2.3.20CVE-2016-309030 Oct 2017Latest listed

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.struts:struts2-parent.

Mavenorg.apache.struts:struts2-parentGHSA-cmpm-jg8r-fv37

Upgrade to 2.2.3.1 or later

Set the version to 2.2.3.1 or later in your pom.xml or build.gradle.

The first fix for CVE-2012-1006. No other CVE tracked by Patchfirst affects this package.

Affected versions, by release line

If you runUpgrade to
2.2 up to 2.2.3.12.2.3.1
All versions before 2.1.22.1.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close