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

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

                   ESB-2006.0067 -- [UNIX/Linux][Debian]
                New sudo packages fix privilege escalation
                              23 January 2006

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

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

Product:           sudo
Publisher:         Debian
Operating System:  Debian GNU/Linux 3.1
                   Debian GNU/Linux 3.0
                   UNIX variants (UNIX, Linux, OSX)
Impact:            Increased Privileges
Access:            Existing Account
CVE Names:         CVE-2006-0151 CVE-2005-4158

Original Bulletin: http://www.debian.org/security/2006/dsa-946

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

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 946-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 20th, 2006                        http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : sudo
Vulnerability  : missing input sanitising
Problem type   : local
Debian-specific: no
CVE IDs        : CVE-2005-4158 CVE-2006-0151
Debian Bug     : 342948

It has been discovered that sudo, a privileged program, that provides
limited super user privileges to specific users, passes several
environment variables to the program that runs with elevated
privileges.  In the case of include paths (e.g. for Perl, Python, Ruby
or other scripting languages) this can cause arbitrary code to be
executed as privileged user if the attacker points to a manipulated
version of a system library.

This update alters the former behaviour of sudo and limits the number
of supported environment variables to LC_*, LANG, LANGUAGE and TERM.
Additional variables are only passed through when set as env_check in
/etc/sudoers, which might be required for some scripts to continue to
work.

For the old stable distribution (woody) this problem has been fixed in
version 1.6.6-1.5.

For the stable distribution (sarge) this problem has been fixed in
version 1.6.8p7-1.3.

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

We recommend that you upgrade your sudo package.  For unstable
"Defaults = env_reset" need to be addeed to /etc/sudoers manually.


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/s/sudo/sudo_1.6.6-1.5.dsc
      Size/MD5 checksum:      587 5283a27497c0b72d5b6e76f9b667e01e
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5.diff.gz
      Size/MD5 checksum:    12656 f222453e31614c7acfc5f2dacfa50b7b
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6.orig.tar.gz
      Size/MD5 checksum:   333074 4da4bf6cf31634cc7a17ec3b69fdc333

  Alpha architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_alpha.deb
      Size/MD5 checksum:   151566 0962195516363a6c70b74f41891df48a

  ARM architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_arm.deb
      Size/MD5 checksum:   141552 b302ac8539e200fa462b36486496c4d3

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_i386.deb
      Size/MD5 checksum:   135038 6a4e4f7c16f10019bed84e62ba8ec57f

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_ia64.deb
      Size/MD5 checksum:   172514 5ddbbf5863765b4cea3f385e0f0fe47a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_hppa.deb
      Size/MD5 checksum:   147622 b285216580ae99baf70a03dfe42281f4

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_m68k.deb
      Size/MD5 checksum:   132792 08c2595bb7daf654dbbfd8714f1e1d3e

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_mips.deb
      Size/MD5 checksum:   144486 c58264be61e612b1e5bc79d20c956cfb

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_mipsel.deb
      Size/MD5 checksum:   144358 e84c5ae3472ea691625e5e8884873891

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_powerpc.deb
      Size/MD5 checksum:   140702 29508f07787ae9ae35d8d9ad631a3201

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_s390.deb
      Size/MD5 checksum:   140338 f4872d03a171887c001f93ab86ef79b2

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.5_sparc.deb
      Size/MD5 checksum:   143150 d80fb2c644c9171a19834711abde3df1


Debian GNU/Linux 3.1 alias sarge
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3.dsc
      Size/MD5 checksum:      571 f913c6cb8244c9d003518129d88295e8
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3.diff.gz
      Size/MD5 checksum:    20818 b14d0f907459fa845431348b56a23649
    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7.orig.tar.gz
      Size/MD5 checksum:   585302 ad65d24f20c736597360d242515e412c

  Alpha architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_alpha.deb
      Size/MD5 checksum:   176530 646d6d0833893f6a27a238c4c5be553b

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_amd64.deb
      Size/MD5 checksum:   170024 b83d86e9bf071815692c463eacda677c

  ARM architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_arm.deb
      Size/MD5 checksum:   163560 95555bc3a9c1f49580fe23af83519fca

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_i386.deb
      Size/MD5 checksum:   159630 f0548efecaa7216ff89c9af09c43b01f

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_ia64.deb
      Size/MD5 checksum:   195026 2b209260c170ef372bfb7b5b7df4d8a3

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_hppa.deb
      Size/MD5 checksum:   170398 b94e896f58fe39ad4a4cc2d3e93ca667

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_m68k.deb
      Size/MD5 checksum:   154978 8d963b31019230fbf94225c5af7e894d

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_mips.deb
      Size/MD5 checksum:   168416 36e928d024d13ad2cccab3113b1cdf6e

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_mipsel.deb
      Size/MD5 checksum:   168322 5151ab7efe69f880b47c2ee5075707f4

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_powerpc.deb
      Size/MD5 checksum:   165084 ce88c7f407b2825e221ae5da015bcbb9

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_s390.deb
      Size/MD5 checksum:   168052 42f00b514e932afd4027b36b2c1bf64e

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.3_sparc.deb
      Size/MD5 checksum:   162408 bb253571ca9c46d8c8675869e52c68b0


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

iD8DBQFD0LpDW5ql+IAeqTIRAqIOAJ9CT88GGlSlAoQLpMo8k25QYrTG5wCgmx0O
+Uvc58mFFu2LKSsTBTde/Ys=
=+w2q
- -----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

iQCVAwUBQ9Ql2Ch9+71yA2DNAQIxngQAk6B/dTMnFzkSRCvqgGEG0JD8c7nAfi8a
h5uJcF+tqtDkzCKQQXeRIXNJWWfq9Hzr/GB+NT73WkByLzARIMM60ZQ1JBixAQ2f
psJhZLFtUULk6BbpA92farnktF0bXL0R1ie7KW6zOufrrgtweXT7RjWUZW7KBEjI
3cJQ26G/j0U=
=U7iD
-----END PGP SIGNATURE-----