VDB
Sign up
MEDIUM

GHSA-2rvh-q539-q33v

Cross-Site Request Forgery in Apache Struts

Quick fix

GHSA-2rvh-q539-q33v — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.3.4.1</version> for org.apache.struts:struts2-core

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 2.0.0Fixed in: 2.3.4.1
Fix# pom.xml: bump <version>2.3.4.1</version> for org.apache.struts:struts2-core

References