CSRF in Apache Struts

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 allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.033 (87.4th percentile) — read the EPSS interpretation.

Affected products

  • Apache Struts — versions 2.0.0, 2.0.1, 2.0.2
  • N/a — versions n/a

Weakness classification (CWE)

References