CVE-2018-16984: Django allows unprivileged users to read the password hashes of arbitrary accounts
(updated )
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
- github.com/advisories/GHSA-6mx3-3vqg-hpp2
- github.com/django/django
- github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml
- nvd.nist.gov/vuln/detail/CVE-2018-16984
- security.netapp.com/advisory/ntap-20190502-0009
- web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749
- www.djangoproject.com/weblog/2018/oct/01/security-release
Code Behaviors & Features
Detect and mitigate CVE-2018-16984 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →