Australia's Leading Computer Emergency Response Team

ESB-2004.0815 -- Debian Security Advisory DSA 615-1 -- New debmake package fixes insecure temporary directories
Date: 23 December 2004
Original URL: http://www.auscert.org.au/render.html?cid=55&it=4658

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

            ESB-2004.0815 -- Debian Security Advisory DSA 615-1
         New debmake package fixes insecure temporary directories
                             23 December 2004

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

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

Product:           debmake
Publisher:         Debian
Operating System:  Debian GNU/Linux 3.0
Impact:            Overwrite Arbitrary Files
Access:            Existing Account
CVE Names:         CAN-2004-1179

Original Bulletin: http://www.debian.org/security/2004/dsa-615

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

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 615-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
December 22nd, 2004                     http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : debmake
Vulnerability  : insecure temporary files
Problem-Type   : local
Debian-specific: yes
CVE ID         : CAN-2004-1179
Debian Bug     : 286382

Javier Fernández-Sanguino Peña noticed that the debstd script from
debmake, a deprecated helper package for Debian packaging, created
temporary directories in an insecure manner.  This can be exploited by
a malicious user to overwrite arbitrary files owned by the victim.

For the stable distribution (woody) this problem has been fixed in
version 3.6.10.woody.1.

For the unstable distribution (sid) this problem has been fixed in
version 3.7.7.

We recommend that you upgrade your debmake 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/d/debmake/debmake_3.6.10.woody.1.dsc
      Size/MD5 checksum:      497 fcbfe41a644d608b165a1e21ac578115
    http://security.debian.org/pool/updates/main/d/debmake/debmake_3.6.10.woody.1.tar.gz
      Size/MD5 checksum:    39960 9c32e99bb95f3d62d91fa613e282951a

  Architecture independent components:

    http://security.debian.org/pool/updates/main/d/debmake/debmake_3.6.10.woody.1_all.deb
      Size/MD5 checksum:    44572 b15c79fd0c73a2d665628092eee19027


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

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

iD8DBQFByYjNW5ql+IAeqTIRAg3tAJ9ibU8Hur/a288d0VB1KMLtfarynwCfTDaf
oiQi+11hvZI1lhnWkWqNegI=
=bI9B
- -----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.

NOTE: Third Party Rights
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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 author's website 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/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

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-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQcoDPih9+71yA2DNAQIUgQP8DSBp1+S8loO1VVfReumEfvmBtpgLyBvq
DYb6FDVUssMMsVM0+T4fPS9/cU6pFQASpIo7aPeCZaxhoPzCr2m7ruIRFgUCkAWN
YiNLI4CEKdbYnUyWjF28brao27T8uCHviofqPsGF8DhJUzMUNzJhDrSLpMv05pF5
kP2K3D/3yVg=
=OKaQ
-----END PGP SIGNATURE-----