CVE-2021-26296 Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces
Attackers can predict CSRF tokens in Apache MyFaces to trick users into executing unwanted actions, requiring an upgrade to secure versions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-26296?
CVE-2021-26296 is a high-severity vulnerability in Netapp Oncommand Insight, published on 19 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In the default configuration, Apache MyFaces Core versions 2.2.0 to 2.2.13, 2.3.0 to 2.3.7, 2.3-next-M1 to 2.3-next-M4, and 3.0.0-RC1 use 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.
Weakness: CWE-352
Which versions are affected by CVE-2021-26296?
8 open source packages ship an affected version, including org.apache.myfaces.core:myfaces-core-module. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.myfaces.core:myfaces-core-module Maven | All versions | 2.0.25 |
org.apache.myfaces.core:myfaces-core-module Maven | All versions | 2.0.25 |
org.apache.myfaces.core:myfaces-core-module Maven | From 2.1.0 | 2.1.19 |
org.apache.myfaces.core:myfaces-core-module Maven | From 2.1.0 | 2.1.19 |
org.apache.myfaces.core:myfaces-core-module Maven | From 2.2.0 | 2.2.14 |
org.apache.myfaces.core:myfaces-core-module Maven | From 2.2.0 | 2.2.14 |
2 more packages
org.apache.myfaces.core:myfaces-core-module Maven | From 2.3.0 | 2.3.8 |
org.apache.myfaces.core:myfaces-core-module Maven | From 2.3.0 | 2.3.8 |
Products include Apache Myfaces, Netapp Oncommand Insight.
How do I fix CVE-2021-26296?
Upgrade org.apache.myfaces.core:myfaces-core-module to a fixed version for your release line: 2.0.25, 2.1.19, 2.2.14 or 2.3.8.
Is CVE-2021-26296 being exploited?
There is no known exploitation of CVE-2021-26296 in the wild and no public exploit code.
Other vulnerabilities in Netapp Oncommand Insight
Sources
Also known as GHSA-gq67-pp9w-43gp.