Articles / Debian: New hsftp packages …

Debian: New hsftp packages fix format string vulnerability

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. Fixed packages are available from security.debian.org.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 447-1                     security@debian.org
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: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAOXKjArxCt0PiXR4RAn/6AKCKnVNLpKxBWnDTtxpQGEDHimWFAACdE5Gs
Fr8s12hBYV85K5mrxrIK9EQ=
=CwlD
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.