Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces (Apache Software Foundation Apache MyFaces Core)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.89 % · percentile 87 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- apache
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-352 — Cross-Site Request Forgery
References
- https://lists.apache.org/thread.html/r2b73e2356c6155e9ec78fdd8f72a4fac12f3e588014f5f535106ed9b%40%3Cannounce.apache.org%3E
- http://seclists.org/fulldisclosure/2021/Feb/66
- http://packetstormsecurity.com/files/161484/Apache-MyFaces-2.x-Cross-Site-Request-Forgery.html
- https://security.netapp.com/advisory/ntap-20210528-0007/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-gq67-pp9w-43gp — Cryptographically weak CSRF tokens in Apache MyFaces
European references
- ENISA EUVD · EUVD-2021-1329
- GCVE · GCVE-0-2021-26296
CERT-FR advisories
- CERTFR-2021-AVI-539 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2021-AVI-395 — Multiples vulnérabilités dans IBM Spectrum Control · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:apache:myfaces:*:*:*:*:*:*:*:*≥ 2.2.0 ≤ 2.2.13cpe:2.3:a:apache:myfaces:*:*:*:*:*:*:*:*≥ 2.3.0 ≤ 2.3.7cpe:2.3:a:apache:myfaces:2.3:next-m1:*:*:*:*:*:*cpe:2.3:a:apache:myfaces:2.3:next-m2:*:*:*:*:*:*cpe:2.3:a:apache:myfaces:2.3:next-m3:*:*:*:*:*:*cpe:2.3:a:apache:myfaces:2.3:next-m4:*:*:*:*:*:*cpe:2.3:a:apache:myfaces:3.0.0:rc1:*:*:*:*:*:*cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Apache Software Foundation · Apache MyFaces Core | affected Apache MyFaces Core 2.2 < 2.2.14 ; affected Apache MyFaces Core 2.3 < 2.3.8 ; affected Apache MyFaces Core 2.3-next < 2.3-next-M5 ; affected Apache MyFaces Core 3.0 < 3.0.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |