Skip to content
OpenAdvisories
Medium Public exploit CVE-2012-1006 EUVD-2022-3598GHSA-cmpm-jg8r-fv37

Apache Struts Multiple Cross-site Scripting Vulnerabilities

Published Feb 7, 2012 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-parent < 2.1.2 2.1.2 GHSA-cmpm-jg8r-fv37
Maven org.apache.struts:struts2-parent >= 2.2, < 2.2.3.1 2.2.3.1 GHSA-cmpm-jg8r-fv37

References