MEDIUM
GHSA-h4v9-jf2r-9h6m
Cross-Site Request Forgery in Apache Struts
Quick fix
GHSA-h4v9-jf2r-9h6m — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.3.20</version> for org.apache.struts:struts2-coreDetails
Apache Struts 2.0.0 through 2.3.x before 2.3.20 uses predictable <s:token/> values, which allows remote attackers to bypass the CSRF protection mechanism.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
0Fixed in: 2.3.20Fix
# pom.xml: bump <version>2.3.20</version> for org.apache.struts:struts2-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2014-7809[ADVISORY]
- https://github.com/apache/struts/commit/1f301038a751bf16e525607c3db513db835b2999[WEB]
- https://github.com/apache/struts[PACKAGE]
- https://web.archive.org/web/20150201180327/http://www.securitytracker.com/id/1031309[WEB]
- https://web.archive.org/web/20150820131625/http://www.securityfocus.com/bid/71548[WEB]
- https://web.archive.org/web/20201023114849/http://www.securityfocus.com/archive/1/534175/100/0/threaded[WEB]
- http://packetstormsecurity.com/files/129421/Apache-Struts-2.3.20-Security-Fixes.html[WEB]
- http://struts.apache.org/docs/s2-023.html[WEB]