[ GLSA 200403-08 ] oftpd DoS vulnerability

From: Kurt Lieber (klieber_at_gentoo.org)
Date: 03/29/04

  • Next message: Kurt Lieber: "[ GLSA 200403-07 ] Multiple remote overflows and vulnerabilities in Ethereal"
    Date: Mon, 29 Mar 2004 10:20:41 -0500
    To: bugtraq@securityfocus.com, full-disclosure@lists.netsys.com, alerts@linuxsecurity.com
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200403-08
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                 http://security.gentoo.org
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: Normal
         Title: oftpd DoS vulnerability
          Date: March 29, 2004
          Bugs: #45738
            ID: 200403-08

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

    Synopsis
    ========

    A remotely-exploitable overflow exists in oftpd, allowing an attacker
    to crash the oftpd daemon.

    Background
    ==========

    Quote from http://www.time-travellers.org/oftpd/

    "oftpd is designed to be as secure as an anonymous FTP server can
    possibly be. It runs as non-root for most of the time, and uses the
    Unix chroot() command to hide most of the systems directories from
    external users - they cannot change into them even if the server is
    totally compromised! It contains its own directory change code, so that
    it can run efficiently as a threaded server, and its own directory
    listing code (most FTP servers execute the system "ls" command to list
    files)."

    Affected packages
    =================

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
         net-ftp/oftpd <= 0.3.6 >= 0.3.7

    Description
    ===========

    Issuing a port command with a number higher than 255 causes the server
    to crash. The port command may be issued before any authentication
    takes place, meaning the attacker does not need to know a valid
    username and password in order to exploit this vulnerability.

    Impact
    ======

    This exploit causes a denial of service.

    Workaround
    ==========

    While a workaround is not currently known for this issue, all users are
    advised to upgrade to the latest version of the affected package.

    Resolution
    ==========

    All users should upgrade to the current version of the affected
    package:

        # emerge sync

        # emerge -pv ">=net-ftp/oftpd-0.3.7"
        # emerge ">=net-ftp/oftpd-0.3.7"

    References
    ==========

      [ 1 ] http://www.time-travellers.org/oftpd/oftpd-dos.html

    Concerns?
    =========

    Security is a primary focus of Gentoo Linux and ensuring the
    confidentiality and security of our users machines is of utmost
    importance to us. Any security concerns should be addressed to
    security@gentoo.org or alternatively, you may file a bug at
    http://bugs.gentoo.org.

    
    



  • Next message: Kurt Lieber: "[ GLSA 200403-07 ] Multiple remote overflows and vulnerabilities in Ethereal"

    Relevant Pages

    • [ GLSA 200403-08 ] oftpd DoS vulnerability
      ... A remotely-exploitable overflow exists in oftpd, ... to crash the oftpd daemon. ... external users - they cannot change into them even if the server is ... Issuing a port command with a number higher than 255 causes the server ...
      (Bugtraq)
    • Re: FTP Active Mode - Cant Get Server To Connect after PORT Command
      ... > PORT command" response from the FTP server. ... You have to send IP address reachable from server in port command (that ... client: PORT ... ...
      (microsoft.public.dotnet.framework)
    • Re: FTP Active Mode - Cant Get Server To Connect after PORT Command
      ... that I have used with great success. ... > I put the Socket.Accept command after sending the data request to the FTP ... > server and it works. ... >> You accept socket after PORT command, ...
      (microsoft.public.dotnet.framework)
    • RE: IIS FTP Public IP Problem
      ... > An error occured opening that folder on the ftp server. ... The "invalid PORT command" indicates that this is not a problem with the ... That isn't the same IP address as the incoming control connection came ...
      (microsoft.public.inetserver.iis.ftp)