Vulnerability advisory
GHSA-6mx3-3vqg-hpp2
Django allows unprivileged users to read the password hashes of arbitrary accounts
Also known as CVE-2018-16984PYSEC-2018-3
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected versions
| Affected | Fixed in |
|---|---|
2.1 to before 2.1.2 | 2.1.2Advisories → |
Description
An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts. The read-only password widget used by the Django Admin to display an obfuscated password hash was bypassed if a user has only the "view" permission (new in Django 2.1), resulting in display of the entire password hash to those users. This may result in a vulnerability for sites with legacy user accounts using insecure hashes.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-16984 ↗
- Webgithub.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745 ↗
- Advisorygithub.com/advisories/GHSA-6mx3-3vqg-hpp2 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml ↗
- Websecurity.netapp.com/advisory/ntap-20190502-0009 ↗
- Webweb.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749 ↗
- Webwww.djangoproject.com/weblog/2018/oct/01/security-release ↗