GitHub Advisoryadvisory · PyPI
GHSA-6mx3-3vqg-hpp2 Django allows unprivileged users to read the password hashes of arbitrary accounts
MEDIUM
Official page ↗
- Aliases
- CVE-2018-16984
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-522
- Reviewed
- 2020-06-16
Affected packages
• PyPI Django: >= 2.1, < 2.1.2 → fixed in 2.1.2
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.
Related
Alias · CVE (1)
- CVE-2018-16984 An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts. vulnerability
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-16984 advisory
- https://github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745 web
- https://github.com/advisories/GHSA-6mx3-3vqg-hpp2 advisory
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml web
- https://security.netapp.com/advisory/ntap-20190502-0009 web
- https://web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749 web
- https://www.djangoproject.com/weblog/2018/oct/01/security-release web