Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wagtail-2fa
  4. ›
  5. CVE-2020-5240

CVE-2020-5240: 2FA bypass through deleting devices in wagtail-2fa

March 13, 2020 (updated November 19, 2024)

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

Code Behaviors & Features

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 →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

pypi/wagtail-2fa/CVE-2020-5240.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.