Debian: hsftp Format string vulnerability

    Date23 Feb 2004
    CategoryDebian
    2704
    Posted ByLinuxSecurity Advisories
    An attacker, able to create files on a remote server, could potentially execute arbitrary code with the privileges of the user invoking hsftp.
    
    Debian Security Advisory DSA 447-1                     This email address is being protected from spambots. You need JavaScript enabled to view it. 
    http://www.debian.org/security/                             Matt Zimmerman
    February 22nd, 2004                      http://www.debian.org/security/faq
    - --------------------------------------------------------------------------
    
    Package        : hsftp
    Vulnerability  : format string
    Problem-Type   : remote
    Debian-specific: no
    CVE Id         : CAN-2004-0159
    
    During an audit, Ulf Harnhammar discovered a format string
    vulnerability in hsftp.  This vulnerability could be exploited by an
    attacker able to create files on a remote server with carefully
    crafted names, to which a user would connect using hsftp.  When the
    user requests a directory listing, particular bytes in memory could be
    overwritten, potentially allowing arbitrary code to be executed with
    the privileges of the user invoking hsftp.
    
    Note that while hsftp is installed setuid root, it only uses these
    privileges to acquire locked memory, and then relinquishes them.
    
    For the current stable distribution (woody) this problem has been
    fixed in version 1.11-1woody1.
    
    For the unstable distribution (sid), this problem will be fixed soon.
    
    We recommend that you update your hsftp package.
    
    Upgrade Instructions
    - --------------------
    
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    
    Debian GNU/Linux 3.0 alias woody
    - --------------------------------
    
      Source archives:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1.dsc
          Size/MD5 checksum:      595 9cefb21b2527ae0bf6cf813edd470320
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1.diff.gz
          Size/MD5 checksum:     1850 9a62d6a8ca1b885e78b84d23978af15d
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11.orig.tar.gz
          Size/MD5 checksum:    50859 0b9d3eff1b9fcc2ab44a970c3535f777
    
      Alpha architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_alpha.deb
          Size/MD5 checksum:    19582 a7ae51d2bc5102f8a92a8d5e640ab198
    
      ARM architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_arm.deb
          Size/MD5 checksum:    17410 bf432d578eb24f94ae423a38a8380f7c
    
      Intel IA-32 architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_i386.deb
          Size/MD5 checksum:    17106 b638f3ab3bd577a8c287a77b57933ea1
    
      Intel IA-64 architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_ia64.deb
          Size/MD5 checksum:    22808 2673a0bd78ec8341da16998b51feefcf
    
      HP Precision architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_hppa.deb
          Size/MD5 checksum:    18200 11c371b92821e461ac0179f3b7edfeb3
    
      Motorola 680x0 architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_m68k.deb
          Size/MD5 checksum:    16406 928c44582067a9b264f62d32408a9a46
    
      Big endian MIPS architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_mips.deb
          Size/MD5 checksum:    17676 a6e150e08063dba73ff5a44f75f30a83
    
      PowerPC architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_powerpc.deb
          Size/MD5 checksum:    17620 ca2e00d4af42d2b19f48a2b71455b167
    
      IBM S/390 architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_s390.deb
          Size/MD5 checksum:    17686 366193042afb69b518ef20c1ae08444d
    
      Sun Sparc architecture:
    
         http://security.debian.org/pool/updates/main/h/hsftp/hsftp_1.11-1woody1_sparc.deb
          Size/MD5 checksum:    17070 8788ef38808a6271c2a1ff2a1da6adff
    
      These files will probably be moved into the stable distribution on
      its next revision.
    
    - ---------------------------------------------------------------------------------
    For apt-get: deb  http://security.debian.org/ stable/updates main
    For dpkg-ftp:  ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and  http://packages.debian.org/
    
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"7","type":"x","order":"1","pct":58.33,"resources":[]},{"id":"88","title":"Should be more technical","votes":"3","type":"x","order":"2","pct":25,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"2","type":"x","order":"3","pct":16.67,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.