CVE-2019-19118
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.)
Django versiones 2.1 anteriores a 2.1.15 y versiones 2.2 anteriores a 2.2.8, permite una edición de modelos involuntaria. Un administrador de modelo de Django que despliega modelos relacionados en línea, donde el usuario tiene permisos de solo lectura para un modelo principal pero permisos de edición para el modelo en línea, sería presentado con una IU de edición, que permite peticiones POST, para actualizar el modelo en línea. No fue posible editar directamente el modelo principal de solo lectura, pero el método save() del modelo principal fue llamado, activando posibles efectos secundarios y causando que los manejadores de señales previos y posteriores al guardado sean invocados. (Para resolver esto, el administrador de Django es ajustado para requerir permisos de edición en el modelo principal para que los modelos en línea sean editables).
CVSS Scores
SSVC
- Decision:-
Timeline
- 2019-11-19 CVE Reserved
- 2019-12-02 CVE Published
- 2024-03-27 EPSS Updated
- 2024-08-05 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-276: Incorrect Default Permissions
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://groups.google.com/forum/#%21topic/django-announce/GjGqDvtNmWQ | X_refsource_misc | |
https://security.netapp.com/advisory/ntap-20191217-0003 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://www.openwall.com/lists/oss-security/2019/12/02/1 | 2023-11-07 | |
https://docs.djangoproject.com/en/dev/releases/security | 2023-11-07 | |
https://www.djangoproject.com/weblog/2019/dec/02/security-releases | 2023-11-07 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | >= 2.1 < 2.1.15 Search vendor "Djangoproject" for product "Django" and version " >= 2.1 < 2.1.15" | - |
Affected
| ||||||
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | >= 2.2 < 2.2.8 Search vendor "Djangoproject" for product "Django" and version " >= 2.2 < 2.2.8" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 31 Search vendor "Fedoraproject" for product "Fedora" and version "31" | - |
Affected
|