CVE-2020-9402
SQL injection in Django
Record summary
EIP currently links 1 Nuclei template to CVE-2020-9402.
Description
Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows 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 was possible to break escaping and inject malicious SQL.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
DjangoBrowse PyPI / Django | GitHub Advisory | 1.11 to < 1.11.29 · Fixed in 1.11.29 | affected |
| 2.2 to < 2.2.11 · Fixed in 2.2.11 | affected | ||
| 3.0 to < 3.0.4 · Fixed in 3.0.4 | affected |
Nuclei templates
1ProjectDiscoveryHIGHDjango SQL InjectionCVSS 8.8
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.
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.
Remediation
Upgrade to the latest version.
Source: ProjectDiscovery