Vulnerability · Published Apr 30, 2020 · Assigned by GitHub_M
CVE-2020-11037Potential Observable Timing Discrepancy in Wagtail
Medium 6.1
In plain English
A medium-severity security flaw in Wagtail from wagtail. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wagtail | 2.7.3 | GHSA-jjjr-3jcw-f8v6 |
| PyPI | wagtail | 2.8.2 | GHSA-jjjr-3jcw-f8v6 |
| PyPI | wagtail | 2.9 | GHSA-jjjr-3jcw-f8v6 |
| PyPI | wagtail | 2.7.3, 2.8.2 | PYSEC-2020-153 |
Affected products (as reported)
Weakness: CWE-208 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-jjjr-3jcw-f8v6 x_refsource_CONFIRM
- https://github.com/wagtail/wagtail/commit/3c030490ed575bb9cd01dfb3a890477dcaeb2edf x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/b76ab57ee859732b9cf9287d380493ab24061090 x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/ba9d424bd1ca5ce1910d3de74f5cc07214fbfb11 x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/bac3cd0a26b023e595cf2959aae7da15bb5e4340 x_refsource_MISC