Advisory

GHSA-9gjv-6qq6-v7qm

Also known as: CVE-2020-5240, PYSEC-2020-219

Summary

2FA bypass through deleting devices in wagtail-2fa

Details

Impact
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.

Patches
The problem has been patched in version 1.4.1.

Workarounds
There is no workaround for this issue.

For more information
If you have any questions or comments about this advisory:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-03-13 21:18 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

wagtail-2fa

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.1 (ecosystem)

Fixed versions

1.4.1

Fix

  • Fixed version 1.4.1
    pip install --upgrade wagtail-2fa==1.4.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences