漏洞标题
N/A
漏洞描述信息
在Django 1.11.x 之前版本1.11.23、2.1.x 之前版本2.1.11 和 2.2.x 之前版本2.2.4 中发现了一个问题。由于 shallow key 转换的错误,对django.contrib.postgres.fields.JSONField 和 django.contrib.postgres.fields.HStoreField 的键和索引查找操作可能导致 SQL 注入。例如,可以通过在键或索引名称中使用 "OR 1=1" 来返回所有记录,使用适当构造的字典,并使用字典扩展作为 QuerySet.filter() 函数的**kwargs参数进行调用。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
N/A
漏洞标题
N/A
漏洞描述信息
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Django SQL注入漏洞
漏洞描述信息
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 2.2.4之前的2.2版本、2.1.11之前的2.1版本和1.11.23之前的1.11版本中存在SQL注入漏洞。该漏洞源于基于数据库的应用缺少对外部输入SQL语句的验证。攻击者可利用该漏洞执行非法SQL命令。
CVSS信息
N/A
漏洞类别
SQL注入