CSRF in Apache Myfaces
CVE-2021-26296
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.029, 87.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Myfaces — versions 2.3, 3.0.0
- Apache Software Foundation Myfaces Core — versions Apache MyFaces Core 2.2, Apache MyFaces Core 2.3, Apache MyFaces Core 2.3-next
- NetApp Oncommand Insight
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (arkarkala/ThinkLab-2257, IBM/websphere-automation-lab). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535… (Mailing List, Vendor Advisory)
- 20210219 [CSA-2021-001] Cross-Site Request Forgery in Apache MyFaces (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forg… (Exploit, VDB Entry, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210528-0007/ (Third Party Advisory)