[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Debian] Format String Bug in hsftp - DSA 447-1



-----BEGIN PGP SIGNED MESSAGE-----

Liebe Kolleginnen und Kollegen,
 
soeben erreichte uns nachfolgende Warnung des Debian-Teams ueber
Sicherheitsprobleme in hsftp. Wir geben diese Informationen
unveraendert an Sie weiter.
 
CAN-2004-0159

  hsftp ist ein FTP-Client. Durch einen Format-String Bug in der
  Auswertung von Directory-Listings koennen Angreifer ueber das Netz
  beliebigen Code mit den Privilegien des hsftp-Benutzers auf dem
  System des FTP-Clients ausfuehren. Voraussetzung ist die Faehigkeit,
  auf dem FTP-Server zu dem sich das Opfer verbindet, Dateien anlegen
  zu koennen.

Betroffen ist hsftp im Paket hsftp. Der Fehler ist behoben in den
Versionen:

	1.11-1woody1	Stable		(3.0/woody)
        Angekuendigt	Unstable	(sid)

(c) der deutschen Zusammenfassung bei DFN-CERT Services GmbH; die 
Verbreitung, auch auszugsweise, ist nur unter Hinweis auf den Urheber,
DFN-CERT Services GmbH, und nur zu nicht kommerziellen Zwecken gestattet.

Mit freundlichen Gruessen,
		Klaus Moeller, DFN-CERT


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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

- -- 
Dipl. Inform. Klaus Moeller  (CSIRT)              DFN-CERT Services GmbH
https://www.dfn-cert.de/                               +49-40-808077-555
PGP RSA/2048, 0BB7C8F9, 6D CC 59 0F 86 0C 58 4D  35 D7 0C 55 EF 4F 42 23

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQEVAwUBQDnDCIrEggYLt8j5AQGmfgf/e7h2xq1xGFxSTmrjGFJC/fF6pUx6NJEK
8vzC0fUSI9EeQ8bdaNrrgehEH65ypfm+I5QANSB3nrIaL/4HX0LgWRsdI6+vRD0g
IcuAG3GN3vZyb7HDd7+F9Gi9P1txam2AqKWB+shDC3oW1JQPR22EOG7CJ1IUjF9C
s+LyNBSnGVw4DLkNgDzvQOxgnPa6T0sWaOy2jwESGfz1i2OBjd1YPMPml8cICGbf
zrXbUZC78tlATW/j5ZwshW2sNpNndKID+G8uqPM+KALLW2lVmo26Q3GNFTwgRyql
NYjaAmUa3c5lbRPnx7e9Ybu6Kq1WIyBCwgdf42Jd4nHEeeEabvH7ZA==
=PLWr
-----END PGP SIGNATURE-----