ADVISORIES

GitHub Advisory Database

GHSA-2rvh-q539-q33v

Cross-Site Request Forgery in Apache Struts

Moderate CVE-2012-4386

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
From 2.0.0 before 2.3.4.1 (fixed in 2.3.4.1)

References