CVE-2022-28346
Django SQL Injection Vulnerability
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.
INFO
Published Date :
April 12, 2022, 5:15 a.m.
Last Modified :
Nov. 7, 2023, 3:45 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-28346 has a 16 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-28346
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/04/11/1 | Mailing List Patch Third Party Advisory |
https://docs.djangoproject.com/en/4.0/releases/security/ | Patch Vendor Advisory |
https://groups.google.com/forum/#%21forum/django-announce | |
https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ | |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ | |
https://security.netapp.com/advisory/ntap-20220609-0002/ | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5254 | Third Party Advisory |
https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ | Patch Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
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.
Python Shell Dockerfile
None
Python HTML
我所有star的repo
Python
None
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.
Python
None
None
None
Assembly Python Shell PHP C++ C Go Ruby HTML Java
Django SQL Injection Vulnerability Environment.
Python
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.
Python
Django QuerySet.annotate(), aggregate(), extra() SQL 注入
Python
SQL injection in QuerySet.annotate(), aggregate(), and extra()
Dockerfile Python Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-28346
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-28346
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://groups.google.com/forum/#%21forum/django-announce [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ [No types assigned] Removed Reference MITRE https://groups.google.com/forum/#!forum/django-announce Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ -
CVE Modified by [email protected]
Apr. 28, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 28, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ [No Types Assigned] -
Modified Analysis by [email protected]
Nov. 07, 2022
Action Type Old Value New Value Changed Reference Type https://www.debian.org/security/2022/dsa-5254 No Types Assigned https://www.debian.org/security/2022/dsa-5254 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 16, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5254 [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 14, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220609-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20220609-0002/ Third Party Advisory -
CVE Modified by [email protected]
Jun. 09, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220609-0002/ [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 19, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2022/04/11/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/04/11/1 Mailing List, Patch, Third Party Advisory Changed Reference Type https://docs.djangoproject.com/en/4.0/releases/security/ No Types Assigned https://docs.djangoproject.com/en/4.0/releases/security/ Patch, Vendor Advisory Changed Reference Type https://groups.google.com/forum/#!forum/django-announce No Types Assigned https://groups.google.com/forum/#!forum/django-announce Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html Mailing List, Third Party Advisory Changed Reference Type https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ No Types Assigned https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ Patch, Vendor Advisory Added CWE NIST CWE-89 Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 2.2 up to (excluding) 2.2.28 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.2 up to (excluding) 3.2.13 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (excluding) 4.0.4 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 14, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-28346
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-28346
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.30 }} 0.01%
score
0.70086
percentile