Python 2.6.8/2.7.5/3.3.2 ftplib readline 拒绝服务

CVSS 元临时分数当前攻击价格 (≈)CTI兴趣分数
7.2$0-$5k0.00

摘要信息

Python 2.6.8/2.7.5/3.3.2 中曾发现分类为棘手的漏洞。 此漏洞会影响功能 readline的组件ftplib。 当被操控时,会导致 拒绝服务。 该漏洞唯一标识为CVE-2013-1752, 不存在可用的漏洞利用。 建议对受影响组件进行升级。

细节信息

Python 2.6.8/2.7.5/3.3.2 中曾发现分类为棘手的漏洞。 此漏洞会影响功能 readline的组件ftplib。 当被操控时,会导致 拒绝服务。 漏洞的CWE定义是 CWE-789。 此弱点已在 2012-09-25 由Christian Heimes 携手OUSPG 以Issue16037身份 以Bug Report形式 (网站)公布。 分享公告的网址是bugs.python.org

该漏洞唯一标识为CVE-2013-1752, 在2013-02-15进行了CVE分配。 技术细节已提供。 该漏洞的普及率低于常规水平。 不存在可用的漏洞利用。 当前漏洞利用价值为美元大约是 $0-$5k。 安全公告说明:

The httplib module / package can read arbitrary amounts of data from its socket when it's parsing the HTTP header. This may lead to issues when a user connects to a broken HTTP server or something that isn't a HTTP at all. The issue can be broken up into two parts: parsing the HTTP status line parsing and parsing the remaining HTTP headers.

若有长度,则其被标记为 未定义。 我们估计的零日攻击价值约为$0-$5k。 Nessus 漏洞扫描器提供了插件,其 ID 为 75315。 它被分配到SuSE Local Security Checks家族。 该插件在l类型的上下文中运行。 该服务依赖端口 0。 商业漏洞扫描器Qualys能够使用插件350081 (Amazon Linux Security Advisory for python26: ALAS-2015-621)检测此问题。

更新到 2.7.6, 2.6.9 , 3.3.3 版本能够解决该问题。 更新版本已可在hg.python.org下载。 建议对受影响组件进行升级。 如果在漏洞披露后 5 月 发布了可能的缓解措施。 该漏洞可通过以下几行代码来解决:

--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@ -362,7 +362,9 @

def _read_status(self): # Initialize with Simple-Response defaults - line = self.fp.readline() + line = self.fp.readline(_MAXLINE + 1) + if len(line) > _MAXLINE: + raise LineTooLong("header line") if self.debuglevel > 0: print "reply:", repr(line) if not line:

该通告包含以下备注:
Reading and parsing of the HTTP status line is already limited in Python 3.x. Python 2.7 and lower may read arbitrary amounts of bytes from the socket until it finds a newline char. (…) Both Python 2 and Python 3 accept an unlimited count of HTTP headers with a maximum length of 64k each. As headers are accumulated in an list it may consume lots of memory. I suggest that we limit the maximum amount of HTTP header lines to a sane value. How does 100 sound to you?

该漏洞也被记录在其他漏洞数据库中:SecurityFocus (BID 61050), Secunia (SA56226) , Tenable (75315)。

产品信息

类型

名称

版本

许可证

CPE 2.3信息

CPE 2.2信息

CVSSv4信息

VulDB 向量: 🔍
VulDB 可靠性: 🔍

CVSSv3信息

VulDB 元基础分数: 7.5
VulDB 元临时分数: 7.2

VulDB 基本分数: 7.5
VulDB 临时得分: 7.2
VulDB 向量: 🔍
VulDB 可靠性: 🔍

CVSSv2信息

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
向量复杂性身份验证保密完整性可用性
开锁开锁开锁开锁开锁开锁
开锁开锁开锁开锁开锁开锁
开锁开锁开锁开锁开锁开锁

VulDB 基本分数: 🔍
VulDB 临时得分: 🔍
VulDB 可靠性: 🔍

利用信息

分类: 拒绝服务
CWE: CWE-789 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

身体的: 否
本地: 否
远程: 是

可用性: 🔍
状态: 未定义
价格预测: 🔍
当前价格估算: 🔍

0-Day开锁开锁开锁开锁
今天开锁开锁开锁开锁

Nessus ID: 75315
Nessus 名称: openSUSE Security Update : python3 (openSUSE-SU-2014:0498-1)
Nessus 文件: 🔍
Nessus 风险: 🔍
Nessus 家庭: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 65811
OpenVAS 名称: VMSA-2014-0012: VMware vSphere product updates address security vulnerabilities
OpenVAS 文件: 🔍
OpenVAS 家庭: 🔍

Qualys ID: 🔍
Qualys 名称: 🔍

威胁情报信息

利益: 🔍
活跃演员: 🔍
活跃的APT团体: 🔍

对策信息

建议: 升级
状态: 🔍

反应时间: 🔍
0天时间: 🔍
曝光时间: 🔍

升级: Python 2.7.6/2.6.9/3.3.3

时间轴信息

2012-09-25 🔍
2013-02-05 +133 日 🔍
2013-02-15 +10 日 🔍
2013-07-09 +144 日 🔍
2013-12-27 +171 日 🔍
2013-12-27 +0 日 🔍
2014-06-13 +168 日 🔍
2019-04-29 +1781 日 🔍

来源信息

公告: Issue16037
研究人员: Christian Heimes
组织: OUSPG
状态: 已确认

CVE: CVE-2013-1752 (🔍)
GCVE (CVE): GCVE-0-2013-1752
GCVE (VulDB): GCVE-100-11632

OVAL: 🔍

SecurityFocus: 61050 - Google Chrome CVE-2013-2877 Out of Bounds Denial of Service Vulnerability
Secunia: 56226 - Python Multiple Vulnerabilities, Less Critical
OSVDB: 101385

另见: 🔍

条目信息

已创建: 2013-12-27 23時34分
已更新: 2019-04-29 16時12分
更改: 2013-12-27 23時34分 (77), 2019-04-29 16時12分 (1)
完整: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

讨论

暂时没有任何评论。 语言: zh + en.

请登录后发表评论。

Interested in the pricing of exploits?

See the underground prices here!