Cross-site Request Forgery (CSRF) Affecting org.apache.struts:struts2-core package, versions [2.0.0, 2.3.4.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-30043
  • published11 Aug 2012
  • disclosed11 Aug 2012
  • creditJames K. Williams

Introduced: 11 Aug 2012

CVE-2012-4386  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 2.3.4.1 or higher.

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The token check mechanism 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.

CVSS Scores

version 3.1