XSS in Apache Struts
CVE-2011-1772
Multiple cross-site scripting (XSS) vulnerabilities in XWork in Apache Struts 2.x before 2.2.3, and OpenSymphony XWork in OpenSymphony WebWork, allow remote attackers to inject arbitrary web script or HTML via vectors involving (1) an action name, (2) the action attribute of an s:submit element, or (3) the method attribute of an s:submit element.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 2.6 (Low). Vector: AV:N/AC:H/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.333, 98.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Struts — versions 2.0.0, 2.0.1, 2.0.2
- Opensymphony Webwork
- Opensymphony Xwork
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (snic-nsc/cvechecker, snic-nsc/esgf_scanner). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ADV-2011-1198 (vdb-entry, Vendor Advisory)
- www.securityfocus.com/bid/47784 (Exploit, vdb-entry)
- struts.apache.org/2.x/docs/s2-006.html (Exploit, Patch)
- JVNDB-2011-000106 (third-party-advisory)
- JVN#25435092 (third-party-advisory)
- secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html
- struts.apache.org/2.2.3/docs/version-notes-223.html
- www.ventuneac.net/security-advisories/MVSA-11-006 (Exploit)
- issues.apache.org/jira/browse/WW-3579 (Patch)
- secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html (Exploit)