Skip to content

Cross-Site Request Forgery in Apache Struts

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Aug 14, 2023

Package

maven org.apache.struts:struts2-core (Maven)

Affected versions

>= 2.0.0, < 2.3.4.1

Patched versions

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.

References

Published by the National Vulnerability Database Sep 5, 2012
Published to the GitHub Advisory Database May 17, 2022
Reviewed Nov 3, 2022
Last updated Aug 14, 2023

Severity

Moderate

EPSS score

0.188%
(57th percentile)

Weaknesses

CVE ID

CVE-2012-4386

GHSA ID

GHSA-2rvh-q539-q33v

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.