copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2002.669 -- Debian Security Advisory DSA 202-1 -- New IM packages fix insecure temporary file creation

Date: 04 December 2002
References: ESB-2002.684  ESB-2003.0155  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

            ESB-2002.669 -- Debian Security Advisory DSA 202-1
           New IM packages fix insecure temporary file creation
                             04 December 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                im
Vendor:                 Debian
Operating System:       Debian GNU/Linux 2.2
                        Debian GNU/Linux 3.0
                        Linux
Impact:                 Access Privileged Data
                        Create Arbitrary Files
Access Required:        Existing Account

- --------------------------BEGIN INCLUDED TEXT--------------------

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 202-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
December 3rd, 2002                      http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : im
Vulnerability  : temporary files
Problem-Type   : local
Debian-specific: no

Tatsuya Kinoshita discovered that IM, which contains interface
commands and Perl libraries for E-mail and NetNews, creates temporary
files insecurely.

 1. The impwagent program creates a temporary directory in an insecure
    manner in /tmp using predictable directory names without checking
    the return code of mkdir, so it's possible to seize a permission
    of the temporary directory by local access as another user.

 2. The immknmz program creates a temporary file in an insecure manner
    in /tmp using a predictable filename, so an attacker with local
    access can easily create and overwrite files as another user.

These problems have been fixed in version 141-18.1 for the current
stable distribution (woody), in version 133-2.2 of the old stable
distribution (potato) and in version 141-20 for the unstable
distribution (sid).

We recommend that you upgrade your IM package.

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 2.2 alias potato
- - ---------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/i/im/im_133-2.2.dsc
      Size/MD5 checksum:      513 da21bcdcce62f783b15750469140595e
    http://security.debian.org/pool/updates/main/i/im/im_133-2.2.diff.gz
      Size/MD5 checksum:     6929 0669a546380d3e2d702f1ecd3ef6fd7b
    http://security.debian.org/pool/updates/main/i/im/im_133.orig.tar.gz
      Size/MD5 checksum:   205055 df14f9a251a8d47fc045b6303090be47

  Architecture independent components:

    http://security.debian.org/pool/updates/main/i/im/im_133-2.2_all.deb
      Size/MD5 checksum:   217576 15a164603f65eb355f97515aaa97340a


Debian GNU/Linux 3.0 alias woody
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/i/im/im_141-18.1.dsc
      Size/MD5 checksum:      568 86a87c81e159d54359eeac2c3c383ffb
    http://security.debian.org/pool/updates/main/i/im/im_141-18.1.diff.gz
      Size/MD5 checksum:    14110 2cb6b858ccda19f96b3c5315a48a41c0
    http://security.debian.org/pool/updates/main/i/im/im_141.orig.tar.gz
      Size/MD5 checksum:   207576 9ecd2d6009048f1fecbc7b2e0e8cd489

  Architecture independent components:

    http://security.debian.org/pool/updates/main/i/im/im_141-18.1_all.deb
      Size/MD5 checksum:   217416 41a6ad3bc0b0591ba180dd5d646387f9


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

Survey on the use of Debian GNU/Linux 2.2 alias potato:
http://lists.debian.org/debian-devel-announce-0211/msg00001.html

- - ---------------------------------------------------------------------------------
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.0.7 (GNU/Linux)

iD8DBQE97MVnW5ql+IAeqTIRAu8nAJ4oV1rwDaobtsTgltHOue4T1hQT7QCfdHnE
4S9cHhjwN4t77AmXA+vfOIE=
=lArP
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPe3W8Sh9+71yA2DNAQF02QQAiqeT5YPOibEHTtcK7bS0mg1CoHvJPFBu
Jj6SE4b+NkdtCdmuczX6Q92puXFxpMGbQXNXco5LTH0q2tTRxpceAAeEx4UFORa4
L2bDJOn3ee10o1m8sUCP0/IWxcNbFa8stmBamaXXfnoVhlvB2s+OkWO4qflIL8l1
hIXkyL3mD/Q=
=kPhP
-----END PGP SIGNATURE-----