GitHub Advisoryadvisory · PyPI
GHSA-jjjr-3jcw-f8v6 Potential Observable Timing Discrepancy in Wagtail
MEDIUM
Official page ↗
- Aliases
- CVE-2020-11037
- Ecosystem
- PyPI
- Packages
- wagtail
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
- Weaknesses
- CWE-208, CWE-362
- Reviewed
- 2020-05-07
Affected packages
• PyPI wagtail: < 2.7.3 → fixed in 2.7.3
• PyPI wagtail: >= 2.8rc1, < 2.8.2 → fixed in 2.8.2
• PyPI wagtail: >= 2.9rc1, < 2.9 → fixed in 2.9
Description
Impact
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.)
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.
Patches
Patched versions have been released as Wagtail 2.7.3 (for the LTS 2.7 branch), Wagtail 2.8.2 and Wagtail 2.9.
Workarounds
Site owners who are unable to upgrade to the new versions can use user- or group-based privacy restrictions to restrict access to sensitive information; these are unaffected by this vulnerability.
Related
Alias · CVE (1)
- CVE-2020-11037 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… vulnerability
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-jjjr-3jcw-f8v6 web
- https://nvd.nist.gov/vuln/detail/CVE-2020-11037 advisory
- https://github.com/wagtail/wagtail/commit/3c030490ed575bb9cd01dfb3a890477dcaeb2edf web
- https://github.com/wagtail/wagtail/commit/b76ab57ee859732b9cf9287d380493ab24061090 web
- https://github.com/wagtail/wagtail/commit/ba9d424bd1ca5ce1910d3de74f5cc07214fbfb11 web
- https://github.com/wagtail/wagtail/commit/bac3cd0a26b023e595cf2959aae7da15bb5e4340 web
- https://github.com/pypa/advisory-database/tree/main/vulns/wagtail/PYSEC-2020-153.yaml web
- https://github.com/wagtail/wagtail package