CVE-2011-1772
EPSS 59.2%Cross-site Scripting in Apache Struts
發布日:2022/5/17修改日:2024/12/4
描述
Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.
受影響套件(1)
- Maven/org.apache.struts:struts2-corefrom 0, < 2.2.3
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-1772
- PATCHhttps://github.com/apache/struts
- WEBhttp://jvndb.jvn.jp/jvndb/JVNDB-2011-000106
- WEBhttp://jvn.jp/en/jp/JVN25435092/index.html
- WEBhttp://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html
- WEBhttps://issues.apache.org/jira/browse/WW-3579
- WEBhttp://struts.apache.org/2.2.3/docs/version-notes-223.html
- WEBhttp://struts.apache.org/2.x/docs/s2-006.html