Exploit database

Vulnerability

CVE-2022-28346

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

CVE Program

Exploit source choices

5 sources
deepingh0st/cve-2022-28346
GH-f01a3f5bf1e69934bb93e0605385371bGitHubUnofficial GitHub sourcePreferred

Django QuerySet.annotate(), aggregate(), extra() SQL 注入

2022-04-2618 files · 24 stars
yougina/cve-2022-28346
GH-f047943b6e5da95f397cf6fd2971dc86GitHubUnofficial GitHub source

SQL injection in QuerySet.annotate(), aggregate(), and extra()

2022-04-2510 files · 2 stars
kamal-marouane/cve-2022-28346
GH-030b1c7b538d191503c2a508e8af84deGitHubUnofficial GitHub source

A flaw was found in the Django package, which leads to a SQL injection. This flaw allows an attacker using a crafted dictionary containing malicious SQL queries to compromise the database completely.

2024-01-1939 files · 1 stars
chenxiex/django-401-compose
GH-3db1b6ef8586241c8744285023ecf1b9GitHubUnofficial GitHub source

chenxiex/django-401-compose source repository

2025-03-2212 files · 0 stars