当前位置:网站首页>CVE-2022-28346:Django SQL注入漏洞
CVE-2022-28346:Django SQL注入漏洞
2022-07-07 22:52:00 【yggcwhat】
0x01 简介
Django 是用 Python 开发的一个免费开源的 Web 框架,几乎囊括了 Web 应用的方方面面,可以用于快速搭建高性能、优雅的网站,Django 提供了许多网站后台开发经常用到的模块,使开发者能够专注于业务部分。
0x02 漏洞概述
漏洞编号:CVE-2022-28346
攻击者使用精心编制的字典, 通过**kwargs传递给QuerySet.annotate()、aggregate()和extra()这些方法,可导致这些方法在列别名中受到SQL注入攻击。
0x03 影响版本
4.0 <= Django < 4.0.4
3.2 <= Django < 3.2.13
2.2 <= Django < 2.2.28
0x04 环境搭建
docker pull s0cke3t/cve-2022-28346:latest
docker run -d -p 8080:8000 s0cke3t/cve-2022-28346
0x05 漏洞复现
通过报错页面可以发现存在哪些接口
访问接口如果存在传参,同样会提示报错信息
使用报错提示的参数进行sql注入
http://x.x.x.x:8000/demo?field=demo.name" FROM "demo_user" union SELECT "1",sqlite_version(),"3" --
0x06 修复方式
官方已发布安全版本,下载地址:
https://www.djangoproject.com/download/
边栏推荐
- 【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
- 腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道
- 取消select的默认样式的向下箭头和设置select默认字样
- Usage of limit and offset (Reprint)
- ReentrantLock 公平锁源码 第0篇
- QT establish signal slots between different classes and transfer parameters
- 1293_FreeRTOS中xTaskResumeAll()接口的实现分析
- Su embedded training - day4
- 接口测试进阶接口脚本使用—apipost(预/后执行脚本)
- Notice on organizing the second round of the Southwest Division (Sichuan) of the 2021-2022 National Youth electronic information intelligent innovation competition
猜你喜欢
DNS series (I): why does the updated DNS record not take effect?
SQL knowledge summary 004: Postgres terminal command summary
DNS 系列(一):为什么更新了 DNS 记录不生效?
Qt不同类之间建立信号槽,并传递参数
【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
Installation and configuration of sublime Text3
8道经典C语言指针笔试题解析
Jouer sonar
How to learn a new technology (programming language)
Single machine high concurrency model design
随机推荐
An error is reported during the process of setting up ADG. Rman-03009 ora-03113
[programming problem] [scratch Level 2] draw ten squares in December 2019
Smart regulation enters the market, where will meituan and other Internet service platforms go
【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
How can CSDN indent the first line of a paragraph by 2 characters?
C # generics and performance comparison
[programming problem] [scratch Level 2] 2019.09 make bat Challenge Game
ReentrantLock 公平锁源码 第0篇
What if the testing process is not perfect and the development is not active?
Usage of limit and offset (Reprint)
Database query - what is the highest data?
Development of a horse tourism website (optimization of servlet)
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better
How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
【笔记】常见组合滤波电路
Lecture 1: the entry node of the link in the linked list
Solution to prompt configure: error: curses library not found when configuring and installing crosstool ng tool
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
Scrapy framework
Coindesk comments on the decentralization process of the wave field: let people see the future of the Internet