Django allows unprivileged users to read the password hashes of arbitrary accounts
Moderate severity
GitHub Reviewed
Published
Oct 3, 2018
to the GitHub Advisory Database
•
Updated Sep 18, 2024
Description
Published to the GitHub Advisory Database
Oct 3, 2018
Reviewed
Jun 16, 2020
Last updated
Sep 18, 2024
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