Vulnerability · Published Feb 19, 2021 · Assigned by apache
CVE-2021-26296Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces
High 7.5
In plain English
A high-severity cross-site request forgery in Apache MyFaces Core from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.myfaces.core:myfaces-core-module | 2.0.25 | GHSA-gq67-pp9w-43gp |
| Maven | org.apache.myfaces.core:myfaces-core-module | 2.1.19 | GHSA-gq67-pp9w-43gp |
| Maven | org.apache.myfaces.core:myfaces-core-module | 2.2.14 | GHSA-gq67-pp9w-43gp |
| Maven | org.apache.myfaces.core:myfaces-core-module | 2.3.8 | GHSA-gq67-pp9w-43gp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache MyFaces Core | Apache MyFaces Core 2.2 – before 2.2.14Apache MyFaces Core 2.3 – before 2.3.8Apache MyFaces Core 2.3-next – before 2.3-next-M5Apache MyFaces Core 3.0 – before 3.0.0 |
Weakness: CWE-352
References
- https://lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E x_refsource_MISC
- 20210219 [CSA-2021-001] Cross-Site Request Forgery in Apache MyFaces mailing-list, x_refsource_FULLDISC
- http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210528-0007/ x_refsource_CONFIRM