CVE-2020-5240: 2FA bypass through deleting devices in wagtail-2fa
(updated )
Any user with access to the CMS can view and delete other users' 2FA devices by going to the correct path. The user does not require special permissions in order to do so. By deleting the other user's device they can disable the target user's 2FA devices and potentially compromise the account if they figure out their password.
References
- github.com/advisories/GHSA-9gjv-6qq6-v7qm
- github.com/labd/wagtail-2fa
- github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74
- github.com/labd/wagtail-2fa/security/advisories/GHSA-9gjv-6qq6-v7qm
- github.com/pypa/advisory-database/tree/main/vulns/wagtail-2fa/PYSEC-2020-219.yaml
- nvd.nist.gov/vuln/detail/CVE-2020-5240
Detect and mitigate CVE-2020-5240 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →