Debian DSA-3835-1:python-django - 安全更新

critical Nessus 插件 ID 99695

简介

远程 Debian 主机缺少与安全相关的更新。

描述

在 Django(高级 Python Web 开发框架)中发现多个漏洞。通用漏洞和暴露计划识别以下问题:- CVE-2016-9013 Marti Raudsepp 报告在使用 Oracle 数据库运行测试时会使用硬编码密码创建用户。- CVE-2016-9014 Aymeric Augustin 发现在启用调试设置时,Django 未能正确对照 settings.ALLOWED_HOSTS 验证主机标头。远程攻击者可利用此缺陷执行 DNS 重新绑定攻击。- CVE-2017-7233 已发现 is_safe_url() 未正确将某些数字 URL 处理为安全。远程攻击者可能利用此缺陷执行 XSS 攻击或使用 Django 服务器作为公开重定向。- CVE-2017-7234 Chaitin Tech 的 Phithon 在 django.views.static.serve() 视图中发现一个公开重定向漏洞。请注意,此视图并非预期用于生产。

解决方案

升级 python-django 程序包。对于稳定发行版本 (jessie),这些问题已在版本 1.7.11-1~deb8u2 中修复。

另见

https://security-tracker.debian.org/tracker/CVE-2017-7234

https://packages.debian.org/source/jessie/python-django

https://www.debian.org/security/2017/dsa-3835

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842856

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859515

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859516

https://security-tracker.debian.org/tracker/CVE-2016-9013

https://security-tracker.debian.org/tracker/CVE-2016-9014

https://security-tracker.debian.org/tracker/CVE-2017-7233

插件详情

严重性: Critical

ID: 99695

文件名: debian_DSA-3835.nasl

版本: 3.7

类型: local

代理: unix

发布时间: 2017/4/27

最近更新时间: 2021/1/11

支持的传感器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 5.5

矢量: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.5

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:python-django, cpe:/o:debian:debian_linux:8.0

必需的 KB 项: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

易利用性: No known exploits are available

补丁发布日期: 2017/4/26

参考资料信息

CVE: CVE-2016-9013, CVE-2016-9014, CVE-2017-7233, CVE-2017-7234

DSA: 3835