{"id":"CVE-2020-5240","published":"2020-03-13T21:20:14Z","modified":"2024-08-04T08:22:09Z","title":"2FA bypass through deleting devices in wagtail-2fa","vendor":"Lab Digital","product":"wagtail-2fa","tier":"tail","description":{"text":"In wagtail-2fa before 1.4.1, 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 users device they can disable the target users 2FA devices and potentially compromise the account if they figure out their password. The problem has been patched in version 1.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00999,"percentile":0.63594,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/labd/wagtail-2fa/security/advisories/GHSA-9gjv-6qq6-v7qm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":12.72},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"lab-digital","affectedVersions":[{"vendor":"Lab Digital","product":"wagtail-2fa","versions":["< 1.4.1"]}],"affected":[{"ecosystem":"PyPI","package":"wagtail-2fa","vulnerableRanges":["<1.4.1"],"patched":["1.4.1"],"from":["GHSA-9gjv-6qq6-v7qm","PYSEC-2020-219"],"provenance":"source"}],"summary":{"text":"The wagtail-2fa package from Lab Digital contains an improper authorization flaw in its device management functionality, affecting versions before 1.4.1. Any authenticated CMS user, without special permissions, can use the correct path to view and delete other users' 2FA devices, which an attacker could combine with knowledge of the target's password to compromise the account, requiring network access, a low-privilege authenticated account, and some user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:34Z"},"euvd":{"id":"EUVD-2020-0234","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-16766","published":"2019-11-29","fixed":"1.3.0","kev":false,"link":{"from":"CVE-2019-16766","to":"CVE-2020-5240","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail-2fa","fromFixed":"1.3.0","toFixed":"1.4.1","daysApart":105}]}},{"cve":"CVE-2020-5240","published":"2020-03-13","fixed":"1.4.1","kev":false}],"package":"PyPI:wagtail-2fa"}}