Python 2.6.8/2.7.3/3.3.2 HTTP read_status HTTP Header 拒绝服务

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

摘要信息

Python 2.6.8/2.7.3/3.3.2中曾发现一漏洞,此漏洞被分类为棘手。 受影响的是 函数read_status,组件HTTP Handler。 在 作为HTTP Header的一部分被操纵的情况下,会引发 拒绝服务。 该漏洞被命名为CVE-2013-1752, 没有可用的漏洞利用。 建议将受影响的组件升级。

细节信息

Python 2.6.8/2.7.3/3.3.2中曾发现一漏洞,此漏洞被分类为棘手。 受影响的是 函数read_status,组件HTTP Handler。 在 作为HTTP Header的一部分被操纵的情况下,会引发 拒绝服务。 使用 CWE 声明该问题会导致 CWE-404。 此安全漏洞在 2012-09-25 由Christian Heimes 与OUSPG合作 以Issue16037编号 以Bug Report (网站)公开发布。 索取公告的网址是bugs.python.org

该漏洞被命名为CVE-2013-1752, 2013-02-15是CVE分配的时间。 技术详情可用。 此漏洞的流行程度低于一般水平。 没有可用的漏洞利用。 目前漏洞的结构决定了可能的价格范围为美元价USD $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.

若长度存在,则声明为 未定义。 该0day漏洞在地下市场的估算价格大约是$0-$5k。 漏洞扫描器 Nessus 提供了 ID 为 75315 的插件。 该项属于SuSE Local Security Checks家族。 该插件在类型为l的背景下运行。 依赖的端口号是0。 商业漏洞扫描器Qualys能够使用插件350081 (Amazon Linux Security Advisory for python26: ALAS-2015-621)检测此问题。

通过升级至 2.7.4, 2.6.9 , 3.3.3 版本可以消除此问题。 最新版已发布,请访问hg.python.org下载。 建议将受影响的组件升级。 漏洞披露后 立即 有可能的缓解措施被公布。 该漏洞将通过以下代码行进行修复:

--- 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), X-Force (90056), Secunia (SA56226), Vulnerability Center (SBV-57793) , 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-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: 14611
OpenVAS 名称: Amazon Linux Local Check: alas-2015-621
OpenVAS 文件: 🔍
OpenVAS 家庭: 🔍

Qualys ID: 🔍
Qualys 名称: 🔍

威胁情报信息

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

对策信息

建议: 升级
状态: 🔍

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

升级: Python 2.7.4/2.6.9/3.3.3

时间轴信息

2012-09-25 🔍
2012-09-25 +0 日 🔍
2013-02-15 +143 日 🔍
2013-07-09 +144 日 🔍
2013-12-27 +171 日 🔍
2013-12-27 +0 日 🔍
2014-04-04 +98 日 🔍
2014-06-13 +70 日 🔍
2016-03-29 +655 日 🔍
2019-02-03 +1041 日 🔍

来源信息

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

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

OVAL: 🔍

X-Force: 90056
SecurityFocus: 61050 - Google Chrome CVE-2013-2877 Out of Bounds Denial of Service Vulnerability
Secunia: 56226 - Python Multiple Vulnerabilities, Less Critical
OSVDB: 101386
Vulnerability Center: 57793 - Python SSL Module Remote DoS due to Unlimited readline() Function Call, Medium

另见: 🔍

条目信息

已创建: 2013-12-27 23時38分
已更新: 2019-02-03 10時15分
更改: 2013-12-27 23時38分 (76), 2019-02-03 10時15分 (8)
完整: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

讨论

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

请登录后发表评论。

Might our Artificial Intelligence support you?

Check our Alexa App!