Advisory

GHSA-6mx3-3vqg-hpp2

Also known as: CVE-2018-16984, PYSEC-2018-3

Summary

Django allows unprivileged users to read the password hashes of arbitrary accounts

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-10-03 20:07 UTC
Modified
2024-09-18 19:07 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.1, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

  • Fixed version 2.1.2
    pip install --upgrade django==2.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences