Python SimpleHTTPServer ‘list_directory()’函数跨站脚本漏洞

情报来源:CNNVD

发布时间:2012-06-19

基本信息
  • 漏洞ID:1172530
  • 漏洞类型:跨站脚本
  • 发布日期:2012-06-19
  • 更新时间:2012-11-16
  • CVE编号: CVE-2011-4940
  • CNNVD-ID:CNNVD-201206-391
  • 漏洞平台: N/A
  • CVSS评分:2.6
漏洞来源

<a href="https://www.securityfocus.com/bid/54083" target="_blank">https://www.securityfocus.com/bid/54083</a><br/> <a href="http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201206-391" target="_blank">http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201206-391</a><br/>

漏洞详情

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)攻击。

参考资料


来源:bugzilla.redhat.com
链接:https://bugzilla.redhat.com/show_bug.cgi?id=803500
来源:JVNDB
名称:JVNDB-2012-000063
链接:http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
来源:JVN
名称:JVN#51176027
链接:http://jvn.jp/en/jp/JVN51176027/index.html
来源:bugs.python.org
链接:http://bugs.python.org/issue11442
来源:SECUNIA
名称:49525
链接:http://secunia.com/advisories/49525
来源:SECUNIA
名称:49622
链接:http://secunia.com/advisories/49622
来源:BID
名称:54083
链接:http://www.securityfocus.com/bid/54083
来源:NSFOCUS
名称:19885
链接:http://www.nsfocus.net/vulndb/19885