CVE-2019-14234: Django - SQL Injection
- Cve: CVE-2019-14234
- Name: Django - SQL Injection
- Description: An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, data tampering, or full database compromise.
- Remediation: Update to Django 1.11.23, 2.1.11, 2.2.4 or later versions.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.47694
- Epss percentile: 0.98879
- Assignee: [email protected]
- Published at: 2019-08-09T13:15:11Z
- Age in days: 2664
- Modified at: 2026-06-17T02:18:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 9
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-14234
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/malvika-thakur/CVE-2019-14234 | poc-in-github | 2023-09-15 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| djangoproject:django | >= 2.2, < 2.2.4; >= 2.1, < 2.1.11; >= 1.11, < 1.11.23 | /v1/products/djangoproject/django |
| debian:debian_linux | = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 30 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django/django | commit, fix, package | yes | /v1/repositories/django/django |
Index
- Repositories: 82
- Repositories high signal: 37
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-09-15
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since