Vulnerability in Djangoproject Django
CVE-2019-19118
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.017 · 77.2th percentile
- Published
- 2019-12-02
Django 2.1 before 2.1.15 and 2.2 before 2.2.8 allows unintended model editing. A Django model admin displaying inline related models, where the user has view-only permissions to a parent model but edit permissions to the inline model, would be presented with an editing UI, allowing POST requests, for updating the inline model. Directly editing the view-only parent model was not possible, but the parent model's save() method was called, triggering potential side effects, and causing pre and post-save signal handlers to be invoked. (To resolve this, the Django admin is adjusted to require edit permissions on the parent model in order for inline models to be editable.)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.017, 77.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django
- Fedoraproject Fedora — versions 31
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (alphaSeclab/sec-daily-2019, maocatooo/Django2_dailyfresh, Pad0y/Django2_dailyfresh, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- docs.djangoproject.com/en/dev/releases/security/ (Patch, Vendor Advisory)
- [oss-security] 20191202 Django 2.2.8 and 2.1.15: CVE-2019-19118: Privilege escalation in the Django admin. (mailing-list, Patch, Mailing List, Third Party Advisory)
- groups.google.com/forum/
- www.djangoproject.com/weblog/2019/dec/02/security-releases/ (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20191217-0003/ (Third Party Advisory)
- FEDORA-2019-adc8990386 (vendor-advisory)
- GLSA-202004-17 (vendor-advisory)