CVE-2019-19844
Description
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Django < 3.0 < 2.2 < 1.11 - Account Hijack
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2.2.9-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2:2.2.9-1 |
| sid | Fixed | 2:2.2.9-1 |
| forky | Fixed | 2:2.2.9-1 |
| bullseye | Fixed | 2:2.2.9-1 |
| bookworm | Fixed | 2:2.2.9-1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19844
- https://github.com/django/django/commit/302a4ff1e8b1c798aab97673909c7a3dfda42c26
- https://github.com/django/django/commit/4d334bea06cac63dc1272abcec545b85136cca0e
- https://github.com/django/django/commit/5b1fbcef7a8bec991ebe7b2a18b5d5a95d72cb70
- https://github.com/django/django/commit/f4cff43bf921fcea6a29b726eb66767f67753fa2
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases
- https://www.debian.org/security/2020/dsa-4598
- https://usn.ubuntu.com/4224-1
- https://security.netapp.com/advisory/ntap-20200110-0003
- https://security.gentoo.org/glsa/202004-17
- https://seclists.org/bugtraq/2020/Jan/9
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD
- https://groups.google.com/forum/#!topic/django-announce/3oaB2rVH3a0
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-16.yaml
- https://github.com/django/django
- https://github.com/advisories/GHSA-vfq6-hq5r-27r6
- https://docs.djangoproject.com/en/dev/releases/security
- http://packetstormsecurity.com/files/155872/Django-Account-Hijack.html
- https://www.suse.com/security/cve/CVE-2019-19844.html
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases/
- https://docs.djangoproject.com/en/dev/releases/security/
- https://usn.ubuntu.com/4224-1/
- https://security.netapp.com/advisory/ntap-20200110-0003/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD/
- https://security-tracker.debian.org/tracker/CVE-2019-19844
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.