[Full-Disclosure] [ GLSA 200501-24 ] tnftp: Arbitrary file overwriting

From: Luke Macken (lewk_at_gentoo.org)
Date: 01/14/05

  • Next message: Jeff Kell: "Re: [Full-Disclosure] MediaSentry false positives?"
    Date: Thu, 13 Jan 2005 20:50:37 -0500
    To: gentoo-announce@gentoo.org
    
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200501-24
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: Normal
         Title: tnftp: Arbitrary file overwriting
          Date: January 14, 2005
          Bugs: #74704
            ID: 200501-24

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

    Synopsis
    ========

    tnftp fails to validate filenames when downloading files, making it
    vulnerable to arbitrary file overwriting.

    Background
    ==========

    tnftp is a NetBSD FTP client with several advanced features.

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

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
      1 net-ftp/tnftp < 20050103 >= 20050103

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

    The 'mget' function in cmds.c lacks validation of the filenames that
    are supplied by the server.

    Impact
    ======

    An attacker running an FTP server could supply clients with malicious
    filenames, potentially allowing the overwriting of arbitrary files with
    the permission of the connected user.

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All tnftp users should upgrade to the latest version:

        # emerge --sync
        # emerge --ask --oneshot --verbose ">=net-ftp/tnftp-20050103"

    References
    ==========

      [ 1 ] CAN-2004-1294
            http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1294
      [ 2 ] Original Advisory
            http://tigger.uic.edu/~jlongs2/holes/tnftp.txt

    Availability
    ============

    This GLSA and any updates to it are available for viewing at
    the Gentoo Security Website:

      http://security.gentoo.org/glsa/glsa-200501-24.xml

    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.

    License
    =======

    Copyright 2005 Gentoo Foundation, Inc; referenced text
    belongs to its owner(s).

    The contents of this document are licensed under the
    Creative Commons - Attribution / Share Alike license.

    http://creativecommons.org/licenses/by-sa/2.0

    
    

    
    

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html



  • Next message: Jeff Kell: "Re: [Full-Disclosure] MediaSentry false positives?"

    Relevant Pages