Cross-site Request Forgery (CSRF) Affecting org.apache.myfaces.core:myfaces-core-project package, versions [,2.0.25)[2.1.0,2.2.14)[2.3.0,2.3.8)[2.3-next-M1, 2.3-next-M5)[3.0.0-RC1,3.0.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.18% (57th 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-ORGAPACHEMYFACESCORE-1076798
  • published19 Feb 2021
  • disclosed19 Feb 2021
  • creditWolfgang Ettlinger (Certitude Consulting GmbH)

Introduced: 19 Feb 2021

CVE-2021-26296  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.apache.myfaces.core:myfaces-core-project to version 2.0.25, 2.2.14, 2.3.8, 2.3-next-M5, 3.0.0 or higher.

Overview

org.apache.myfaces.core:myfaces-core-project is a MyFaces implementation of the JavaServer Faces 2.3 specification, and consists of an API module (javax.faces.* classes) and an implementation module (org.apache.myfaces.* classes).

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). In the default configuration, Apache MyFaces Core uses cryptographically weak implicit and explicit cross-site request forgery (CSRF) tokens. Due to that limitation, it is possible (although difficult) for an attacker to calculate a future CSRF token value and to use that value to trick a user into executing unwanted actions on an application.

CVSS Scores

version 3.1