Debian alert: New fdclone packages fix insecure temporary directory usage

Posted by dave on Jul 22, 2003 3:49 PM EDT
Mailing list
Mail this story
Print this story

fdclone creates a temporary directory in /tmp as a workspace. However, if this directory already exists, the existing directory is used instead, regardless of its ownership or permissions. This would allow an attacker to gain access to fdclone's temporary files and their contents, or replace them with other files under the attacker's control.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 352-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
July 22nd, 2003                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : fdclone
Vulnerability  : insecure temporary directory
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2003-0596

fdclone creates a temporary directory in /tmp as a workspace.
However, if this directory already exists, the existing directory is
used instead, regardless of its ownership or permissions.  This would
allow an attacker to gain access to fdclone's temporary files and
their contents, or replace them with other files under the attacker's
control.

For the stable distribution (woody) this problem has been fixed in
version 2.00a-1woody3.

For the unstable distribution (sid) this problem has been fixed in
version 2.04-1.

We recommend that you update your fdclone 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/f/fdclone/fdclone_2.00a-1woody3.dsc
      Size/MD5 checksum:      579 f350493d71e75dad2f3191c8d12e1c91
    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3.diff.gz
      Size/MD5 checksum:    14585 97dd0d685268c7c4a326812d5ba1da89
    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a.orig.tar.gz
      Size/MD5 checksum:   539774 d5b6245117c9292ac8b3ae6107e72069

  Alpha architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_alpha.deb
      Size/MD5 checksum:   400620 f1ab7c3886a23779e0f78e2d7da794d0

  ARM architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_arm.deb
      Size/MD5 checksum:   358782 522aed8f7baf8f22b6c4dcb60e25ff85

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_i386.deb
      Size/MD5 checksum:   346522 825a4386e090da06833581a4ae707f17

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_hppa.deb
      Size/MD5 checksum:   376718 0f2bc10c4460e7134e6c0fb621722c22

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_m68k.deb
      Size/MD5 checksum:   330932 c4741850e9dcf1d268b78bed29561f1f

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_powerpc.deb
      Size/MD5 checksum:   361912 a60bc8ff2744766577177d9fafcebef4

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_s390.deb
      Size/MD5 checksum:   352768 fbb33dbe7d8a1d118187e1c8cad69ed0

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/f/fdclone/fdclone_2.00a-1woody3_sparc.deb
      Size/MD5 checksum:   360160 56b9373f4805f113750db0fdd6329dba

  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 <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Hc1NArxCt0PiXR4RAtW0AKCq32dllTt5s9hagf5ZHt3/dGxpYgCgm7xu
uQaOyN6F26UvZHNZAMatqww=
=OVo1
-----END PGP SIGNATURE-----


  Nav
» Read more about: Story Type: Security; Groups: Debian

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.