Debian: 'exmh' temp file vulnerability
Posted by LinuxSecurity.com Team   
Debian exmh creates temporary files in an insecure fasion, thus making it vulnerable to a symlink attack.

- ----------------------------------------------------------------------------
Debian Security Advisory DSA-022-1                       security@debian.org 
http://www.debian.org/security/                               Martin Schulze
January 26, 2001
- ----------------------------------------------------------------------------

Package        : exmh
Vulnerability  : local insecure tempfile creation
Debian-specific: no

Former versions of the exmh program used /tmp for storing temporary
files.  No checks were made to ensure that nobody placed a symlink
with the same name in /tmp in the meantime and thus was vulnerable to
a symlink attack.  This could lead to a malicious local user being
able to overwrite any file writable by the user executing exmh.
Upstream developers have reported and fixed this.  The exmh program
now use /tmp/login now unless TMPDIR or EXMHTMPDIR is set.

We recommend you upgrade your exmh packages immediately.

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 2.2 alias potato
- ------------------------------------

  Potato was released for the alpha, arm, i386, m68k, powerpc and
  sparc architectures.  This package does not contain any architecture
  dependent data (i.e. no compiled programs).


  Source archives:

     http://security.debian.org/dists/stable/updates/main/source/exmh_2.1.1-1.1.diff.gz
      MD5 checksum: 67cd5c52498b1dc120b608b151cbd44c
     http://security.debian.org/dists/stable/updates/main/source/exmh_2.1.1-1.1.dsc
      MD5 checksum: 36f91fba778ff68881adb4022ae99403
     http://security.debian.org/dists/stable/updates/main/source/exmh_2.1.1.orig.tar.gz
      MD5 checksum: f3c6eedfa5720e236389e22234a57c24

  Architecture independent:

     http://security.debian.org/dists/stable/updates/main/binary-all/exmh_2.1.1-1.1_all.deb
      MD5 checksum: 326c6374703977be603579435d328cf8


  These files will be moved into
   ftp://ftp.debian.org/debian/dists/stable/*/binary-$arch/ soon.

For not yet released architectures please refer to the appropriate
directory  ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .

- ----------------------------------------------------------------------------
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/