GitHub Advisoryadvisory · Maven
GHSA-2rvh-q539-q33v Cross-Site Request Forgery in Apache Struts
MEDIUM
Official page ↗
- Aliases
- CVE-2012-4386
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- Moderate
- Weaknesses
- CWE-352
- Reviewed
- 2022-11-03
Affected packages
• Maven org.apache.struts:struts2-core: >= 2.0.0, < 2.3.4.1 → fixed in 2.3.4.1
Description
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
Related
Alias · CVE (1)
- CVE-2012-4386 The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which… vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4386 advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78182 web
- https://issues.apache.org/jira/browse/WW-3858 web
- http://struts.apache.org/2.x/docs/s2-010.html web
- http://www.openwall.com/lists/oss-security/2012/09/01/4 web
- http://www.openwall.com/lists/oss-security/2012/09/01/5 web