Linux Security
    Linux Security
    Linux Security

    Debian: hsftp Format string vulnerability

    Date 23 Feb 2004
    Posted By LinuxSecurity 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.                             Matt Zimmerman
    February 22nd, 2004            
    - --------------------------------------------------------------------------
    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:
          Size/MD5 checksum:      595 9cefb21b2527ae0bf6cf813edd470320
          Size/MD5 checksum:     1850 9a62d6a8ca1b885e78b84d23978af15d
          Size/MD5 checksum:    50859 0b9d3eff1b9fcc2ab44a970c3535f777
      Alpha architecture:
          Size/MD5 checksum:    19582 a7ae51d2bc5102f8a92a8d5e640ab198
      ARM architecture:
          Size/MD5 checksum:    17410 bf432d578eb24f94ae423a38a8380f7c
      Intel IA-32 architecture:
          Size/MD5 checksum:    17106 b638f3ab3bd577a8c287a77b57933ea1
      Intel IA-64 architecture:
          Size/MD5 checksum:    22808 2673a0bd78ec8341da16998b51feefcf
      HP Precision architecture:
          Size/MD5 checksum:    18200 11c371b92821e461ac0179f3b7edfeb3
      Motorola 680x0 architecture:
          Size/MD5 checksum:    16406 928c44582067a9b264f62d32408a9a46
      Big endian MIPS architecture:
          Size/MD5 checksum:    17676 a6e150e08063dba73ff5a44f75f30a83
      PowerPC architecture:
          Size/MD5 checksum:    17620 ca2e00d4af42d2b19f48a2b71455b167
      IBM S/390 architecture:
          Size/MD5 checksum:    17686 366193042afb69b518ef20c1ae08444d
      Sun Sparc architecture:
          Size/MD5 checksum:    17070 8788ef38808a6271c2a1ff2a1da6adff
      These files will probably be moved into the stable distribution on
      its next revision.
    - ---------------------------------------------------------------------------------
    For apt-get: deb stable/updates main
    For dpkg-ftp: 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


    LinuxSecurity Poll

    'Tis the season of giving! How have you given back to the open-source community?

    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).
    [{"id":"171","title":"I've contributed to the development of an open-source project.","votes":"8","type":"x","order":"1","pct":27.59,"resources":[]},{"id":"172","title":"I've reviewed open-source code for security bugs.","votes":"6","type":"x","order":"2","pct":20.69,"resources":[]},{"id":"173","title":"I've made a donation to an open-source project.","votes":"15","type":"x","order":"3","pct":51.72,"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

    Please vote first in order to view vote results.


    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

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