Description

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

INFO

Published Date :

July 2, 2021, 10:15 a.m.

Last Modified :

Nov. 21, 2024, 6:11 a.m.

Source :

cve@mitre.org

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-35042 has a 23 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-35042 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Djangoproject django

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).

基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Nov. 29, 2024, 4:05 a.m. This repo has been linked 127 different CVEs too.

A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities

attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc

Updated: 2 months, 2 weeks ago
5 stars 2 fork 2 watcher
Born at : Nov. 17, 2024, 11:53 a.m. This repo has been linked 414 different CVEs too.

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 3 months, 3 weeks ago
9 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 931 different CVEs too.

None

Updated: 1 year ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 933 different CVEs too.

None

Updated: 3 months, 1 week ago
3 stars 1 fork 1 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

None

Python HTML

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : June 17, 2023, 10:32 a.m. This repo has been linked 7 different CVEs too.

Django SQL injection vulnerability

Dockerfile Python Shell

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : May 18, 2023, 12:35 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 1 month ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 933 different CVEs too.

None

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 21, 2022, 4:55 a.m. This repo has been linked 30 different CVEs too.

炼石计划@渗透攻防宇宙,本星球我们不仅专注渗透攻防测试中的点点滴滴,又横向扩展学习代码基础与PHP/Java代码审计基础。两者相辅相成,只为更好的成长。

Updated: 2 months, 3 weeks ago
5 stars 0 fork 0 watcher
Born at : July 11, 2022, 6:59 a.m. This repo has been linked 4 different CVEs too.

None

Updated: 9 months, 1 week ago
8 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 944 different CVEs too.

Django SQL Injection Vulnerability Environment.

Python

Updated: 1 year, 2 months ago
3 stars 1 fork 1 watcher
Born at : June 2, 2022, 7:13 a.m. This repo has been linked 3 different CVEs too.

A basic analysis about CVE-2021-35942. SQL injection in Django.

Dockerfile Python Shell

Updated: 1 year, 9 months ago
2 stars 0 fork 0 watcher
Born at : April 25, 2022, 2:50 a.m. This repo has been linked 2 different CVEs too.

vulcat可用于扫描Web端常见的CVE、CNVD等编号的漏洞,发现漏洞时会返回Payload信息。部分漏洞还支持命令行交互模式,可以持续利用漏洞

cnvd cve poc scanner security vulnerability cve-2021-42013 cve-2022-26134 cve-2020-9483 cve-2021-35042 cve-2018-7602 cve-2021-22205 cve-2021-43798 cve-2022-1388 cve-2020-10204 cnvd-2021-28277 cve-2021-3223 cve-2021-21234 cve-2019-15642 exp

Python HTML JavaScript TypeScript

Updated: 2 months, 3 weeks ago
126 stars 17 fork 17 watcher
Born at : April 10, 2022, 1:14 p.m. This repo has been linked 82 different CVEs too.

一个Vulhub漏洞复现知识库

vulnerability exploit

Updated: 7 months ago
448 stars 87 fork 87 watcher
Born at : March 3, 2022, 8:38 a.m. This repo has been linked 171 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-35042 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-35042 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.djangoproject.com/en/3.2/releases/security/
    Added Reference https://groups.google.com/forum/#%21forum/django-announce
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/
    Added Reference https://security.netapp.com/advisory/ntap-20210805-0008/
    Added Reference https://www.djangoproject.com/weblog/2021/jul/01/security-releases/
    Added Reference https://www.openwall.com/lists/oss-security/2021/07/02/2
  • CVE Modified by cve@mitre.org

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by cve@mitre.org

    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/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/ [No types assigned]
    Removed Reference MITRE https://groups.google.com/forum/#!forum/django-announce
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/
  • Modified Analysis by nvd@nist.gov

    Sep. 21, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210805-0008/ No Types Assigned https://security.netapp.com/advisory/ntap-20210805-0008/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by cve@mitre.org

    Aug. 18, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/ [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Aug. 05, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210805-0008/ [No Types Assigned]
  • Initial Analysis by nvd@nist.gov

    Jul. 08, 2021

    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 https://docs.djangoproject.com/en/3.2/releases/security/ No Types Assigned https://docs.djangoproject.com/en/3.2/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://www.djangoproject.com/weblog/2021/jul/01/security-releases/ No Types Assigned https://www.djangoproject.com/weblog/2021/jul/01/security-releases/ Patch, Vendor Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2021/07/02/2 No Types Assigned https://www.openwall.com/lists/oss-security/2021/07/02/2 Mailing List, Patch, Third Party Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.1.13 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.2 up to (excluding) 3.2.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
10010090908080707060605050404030302020101000March 7, 2023March 7, 2023Nov. 8, 2023Nov. 8, 2023Jan. 11, 2024Jan. 11, 2024Feb. 6, 2024Feb. 6, 2024March 17, 2024March 17, 2024March 17, 2025March 17, 2025March 21, 2025March 21, 2025March 22, 2025March 22, 2025March 25, 2025March 25, 2025March 26, 2025March 26, 2025March 27, 2025March 27, 2025March 28, 2025March 28, 2025March 29, 2025March 29, 2025March 30, 2025March 30, 2025March 31, 2025March 31, 2025April 1, 2025April 1, 2025April 6, 2025April 6, 2025April 7, 2025April 7, 2025
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-35042 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

7.23 }} 0.16%

score

0.90798

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability