Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-11037 EUVD-2020-0236GHSA-jjjr-3jcw-f8v6PYSEC-2020-153

Potential Observable Timing Discrepancy in Wagtail

Published Apr 30, 2020 · Updated Nov 19, 2024 · Assigned by GitHub_M

Description

In Wagtail before versions 2.7.3 and 2.8.2, a potential timing attack exists on pages or documents that have been protected with a shared password through Wagtail's "Privacy" controls. This password check is performed through a character-by-character string comparison, and so an attacker who is able to measure the time taken by this check to a high degree of accuracy could potentially use timing differences to gain knowledge of the password. This is [understood to be feasible on a local network, but not on the public internet](https://groups.google.com/d/msg/django-developers/iAaq0pvHXuA/fpUuwjK3i2wJ).

Privacy settings that restrict access to pages/documents on a per-user or per-group basis (as opposed to a shared password) are unaffected by this vulnerability.

This has been patched in 2.7.3, 2.8.2, 2.9.

Affected products

VendorProductAffectedFixed
wagtail Wagtail < 2.7.3, >= 2.8rc1, < 2.8.2, = 2.9rc1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI wagtail < 2.7.3 2.7.3 GHSA-jjjr-3jcw-f8v6
PyPI wagtail >= 2.8rc1, < 2.8.2 2.8.2 GHSA-jjjr-3jcw-f8v6
PyPI wagtail >= 2.9rc1, < 2.9 2.9 GHSA-jjjr-3jcw-f8v6
PyPI wagtail >= 2.7, < 2.7.3 · >= 2.8, < 2.8.2 2.7.3, 2.8.2 PYSEC-2020-153

References