Description
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.
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.
Exploit-DB 1
- Apache Struts 2.0.0 < 2.2.1.1 - XWork 's:submit' HTML Tag Cross-Site Scripting EDB-35735 · remote · May 10, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core | < 2.2.3 | 2.2.3 | GHSA-56f8-g68r-j699 |
References
- ADV-2011-1198 vdb-entry
- 47784 vdb-entry
- http://struts.apache.org/2.x/docs/s2-006.html
- JVNDB-2011-000106 third-party-advisory
- JVN#25435092 third-party-advisory
- http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html
- http://struts.apache.org/2.2.3/docs/version-notes-223.html
- http://www.ventuneac.net/security-advisories/MVSA-11-006
- https://issues.apache.org/jira/browse/WW-3579
- http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html