{"id":"GHSA-2rvh-q539-q33v","summary":"Cross-Site Request Forgery in Apache Struts","details":"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.","aliases":["CVE-2012-4386"],"modified":"2024-12-07T05:34:09.519684Z","published":"2022-05-17T01:42:17Z","database_specific":{"github_reviewed_at":"2022-11-03T19:12:34Z","nvd_published_at":"2012-09-05T23:55:00Z","cwe_ids":["CWE-352"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4386"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/78182"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/WW-3858"},{"type":"WEB","url":"http://struts.apache.org/2.x/docs/s2-010.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/09/01/4"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/09/01/5"}],"affected":[{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.3.4.1"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3","2.2.3.1","2.3.1","2.3.1.1","2.3.1.2","2.3.3","2.3.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-2rvh-q539-q33v/GHSA-2rvh-q539-q33v.json"}}],"schema_version":"1.9.0"}