漏洞信息详情
Python SimpleHTTPServer ‘list_directory()’函数跨站脚本漏洞
- CNNVD编号:CNNVD-201206-391
- 危害等级: 中危
- CVE编号: CVE-2011-4940
- 漏洞类型: 跨站脚本
- 发布时间: 2012-06-25
- 威胁类型: 远程
- 更新时间: 2019-10-28
- 厂 商: python
- 漏洞来源:
漏洞简介
Python是Python软件基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。
Python 2.5.6c1,2.6.7 rc2之前的2.6.x版本,2.7.2之前的2.7.x版本中的SimpleHTTPServer中的Lib/SimpleHTTPServer.py中的list_directory函数中存在漏洞,该漏洞源于在Content-Type HTTP头中未正确放置charset参数。远程攻击者可利用该漏洞通过UTF-7编码进行跨站脚本(XSS)攻击。
漏洞公告
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
http://bugs.python.org/issue11442
参考网址
来源:BID
链接:https://www.securityfocus.com/bid/54083
来源:CONFIRM
链接:https://bugzilla.redhat.com/show_bug.cgi?id=803500
来源:SECUNIA
链接:http://secunia.com/advisories/50858
来源:SECUNIA
链接:http://secunia.com/advisories/51040
来源:UBUNTU
链接:http://www.ubuntu.com/usn/USN-1596-1
来源:JVNDB
链接:http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
来源:UBUNTU
链接:http://www.ubuntu.com/usn/USN-1592-1
来源:SECUNIA
链接:http://secunia.com/advisories/51024
来源:UBUNTU
链接:http://www.ubuntu.com/usn/USN-1613-1
来源:UBUNTU
链接:http://www.ubuntu.com/usn/USN-1613-2
来源:CONFIRM
链接:http://bugs.python.org/issue11442
来源:JVN
链接:http://jvn.jp/en/jp/JVN51176027/index.HTML
受影响实体
- Python Python:2.7.2:Rc1
- Python Python:2.7.1:Rc1
- Python Python:2.7.1
- Python Python:2.7
- Python Python:2.6.2
补丁
- Python SimpleHTTPServer ‘list_directory()’函数跨站脚本漏洞的修复措施
![weinxin](http://zone.ci/zone_ci_images/zone.ci.png)
评论