7.5high
django-mfa2 vulnerable to MFA Replay attack
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.51% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-vw39-2wj9-4q86PYSEC-2022-303
Description
mfa/FIDO2.py in django-mfa2 before 2.5.1 and 2.6.x before 2.6.1 allows a replay attack that could be used to register another device for a user. The device registration challenge is not invalidated after usage.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| django-mfa2 (PyPI) | before 2.5.1, from 2.6.0 before 2.6.1 | GitHub Advisory Database, PyPA Advisory Database |
| django-mfa2_project django-mfa2 | before 2.5.1, from 2.6.0 before 2.6.1 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
mfa/FIDO2.py in django-mfa2 before 2.5.1 and 2.6.x before 2.6.1 allows a replay attack that could be used to register another device for a user. The device registration challenge is not invalidated after usage.
NVD (es)
El archivo mfa/FIDO2.py en django-mfa2 versiones anteriores a 2.5.1 y 2.6.x anteriores a 2.6.1, permite un ataque de repetición que podría ser usado para registrar otro dispositivo para un usuario. El desafío de registro del dispositivo no es invalidado después de su uso
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-42731 changed 2025-05-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vw39-2wj9-4q86 changed 2026-06-10 | CC-BY-4.0 |
| NVD | CVE-2022-42731 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-303 changed 2026-06-10 | CC-BY-4.0 |