Bug 1639398 (CVE-2018-16984)

Summary: CVE-2018-16984 python-django: Password hash disclosure to "view only" admin users
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: apevec, bbuckingham, bcourt, bkearney, cbillett, chrisw, jakub.dornak, jal233, jjoyce, jschluet, kbasil, lhh, lpeer, markmc, mburns, mhroncok, michel, mmccune, mrike, mrunge, ohadlevy, rbryant, rchan, rhos-maint, rjerrido, sclewis, sgallagh, sisharma, slinaber, ssaha, tdecacqu, tomckay, vbellur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-django 2.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:39:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1639399    
Bug Blocks:    

Description Andrej Nemec 2018-10-15 15:45:29 UTC
If an admin user has the change permission to the user model, only part of the password hash is displayed in the change form. Admin users with the view (but not change) permission to the user model were displayed the entire hash. While it's typically infeasible to reverse a strong password hash, if your site uses weaker password hashing algorithms such as MD5 or SHA1, it could be a problem.

Affected versions:

Django master development branch
Django 2.1

External References:

https://www.djangoproject.com/weblog/2018/oct/01/security-release/

Comment 1 Andrej Nemec 2018-10-15 15:46:30 UTC
Created python-django tracking bugs for this issue:

Affects: fedora-all [bug 1639399]