Debian Security Advisory DSA 488-1                     security@debian.org 
Debian -- Security Information                              Matt Zimmerman
April 16th, 2004                          Debian -- Debian security FAQ 
- --------------------------------------------------------------------------

Package        : logcheck
Vulnerability  : insecure temporary directory
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2004-0404

Christian Jaeger reported a bug in logcheck which could potentially be
exploited by a local user to overwrite files with root privileges.
logcheck utilized a temporary directory under /var/tmp without taking
security precautions.  While this directory is created when logcheck
is installed, and while it exists there is no vulnerability, if at
any time this directory is removed, the potential for exploitation exists.

For the current stable distribution (woody) this problem has been
fixed in version 1.1.1-13.1woody1.

For the unstable distribution (sid), this problem has been fixed in
version 1.1.1-13.2.

We recommend that you update your logcheck 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:      613 8e01951f551f262ad2ca57543f8e365a
      
      Size/MD5 checksum:    24812 e4e98736893194d3d59d01ba34e2f3e7
      
      Size/MD5 checksum:    29998 51c91fff337e30958df368c648911647

  Architecture independent components:

      
      Size/MD5 checksum:    16450 f14aed68d079c1a64651c6c75ef1ab14
      
      Size/MD5 checksum:    25146 c6f1446b5d520e42384ffb3408da864e
      
      Size/MD5 checksum:     9338 5bfca1c9d03ee43a18d54df1be5891d9

  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  stable/updates main
For dpkg-ftp:    dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/

Debian: logcheck Insecure temporary directory

April 19, 2004
This bug may be exploited to write or read arbitrary directories to which the user has access.

Summary

Christian Jaeger reported a bug in logcheck which could potentially be
exploited by a local user to overwrite files with root privileges.
logcheck utilized a temporary directory under /var/tmp without taking
security precautions. While this directory is created when logcheck
is installed, and while it exists there is no vulnerability, if at
any time this directory is removed, the potential for exploitation exists.

For the current stable distribution (woody) this problem has been
fixed in version 1.1.1-13.1woody1.

For the unstable distribution (sid), this problem has been fixed in
version 1.1.1-13.2.

We recommend that you update your logcheck 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: 613 8e01951f551f262ad2ca57543f8e365a

Size/MD5 checksum: 24812 e4e98736893194d3d59d01ba34e2f3e7

Size/MD5 checksum: 29998 51c91fff337e30958df368c648911647

Architecture independent components:


Size/MD5 checksum: 16450 f14aed68d079c1a64651c6c75ef1ab14

Size/MD5 checksum: 25146 c6f1446b5d520e42384ffb3408da864e

Size/MD5 checksum: 9338 5bfca1c9d03ee43a18d54df1be5891d9

These files will probably be moved into the stable distribution on
its next revision.

For apt-get: deb Debian -- Security Information stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/



Severity
Package : logcheck
Vulnerability : insecure temporary directory
Problem-Type : local
Debian-specific: no
CVE Ids : CAN-2004-0404

Related News