Search This Blog

Thursday, July 07, 2005

[SECURITY] [DSA 735-2] New sudo packages fix pathname validation race

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

- ------------------------------------------------------------------------
Debian Security Advisory DSA 735-2 security@debian.org
http://www.debian.org/security/ Michael Stone
July 07, 2005 http://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package : sudo
Vulnerability : pathname validation race
Problem type : local
Debian-specific: no
CVE Id(s) : CAN-2005-1993
Debian Bug : 315115

A local user who has been granted permission to run commands via sudo
could run arbitrary commands as a privileged user due to a flaw in
sudo's pathname validation. This bug only affects configurations which
have restricted user configurations prior to an ALL directive in the
configuration file. A workaround is to move any ALL directives to the
beginning of the sudoers file; see the advisory at
http://www.sudo.ws/sudo/alerts/path_race.html for more information.

For the old stable Debian distribution (woody), this problem has been
fixed in version 1.6.6-1.3woody1.

For the current stable distribution (sarge), this problem has been fixed
in version 1.6.8p7-1.1sarge1.

For the unstable distribution, this problem has been fixed in version
1.6.8p9-1.

The only change since DSA 735-1 is the addition of certain architectures
which were not available in the original advisory.

We recommend that you upgrade your sudo 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 3.0 (woody)
- ------------------

woody was released for alpha, arm, hppa, i386, ia64, m68k, mips,
mipsel, powerpc, s390 and sparc. Packages for all but arm & ia64 were
released in DSA 735-1.

arm architecture (ARM)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.3woody1_arm.deb
Size/MD5 checksum: 140196 68a776aa70997915c4cd3b2513cfda9a

ia64 architecture (Intel ia64)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.6-1.3woody1_ia64.deb
Size/MD5 checksum: 170186 a7f5941729ed3e865b3809225de8c950

Debian 3.1 (sarge)
- ------------------

sarge was released for alpha, arm, hppa, i386, ia64, m68k, mips,
mipsel, powerpc, s390 and sparc. Packages for all but arm were
released in DSA 735-1.

arm architecture (ARM)

http://security.debian.org/pool/updates/main/s/sudo/sudo_1.6.8p7-1.1sarge1_arm.deb
Size/MD5 checksum: 163476 870b7104140d4170b2bbc663d431c333

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

iQCVAwUBQs3RFw0hVr09l8FJAQKqjAP/buH+c9IPpe70qXdNlnZXiBIp3MHnBAwh
4WK0UcLCgczXcZGcLPRFfkMTmgVf2xMhnsAExRvRtpcDylt2hl+eiEcYWVWgTeDy
wKH6IcJlHzw7SU7aK0WaNfEj20SiijRkaS499aBr7scKluy6LGtncH3tAgmxRZxg
GHc1szx4E1s=
=zx3N
-----END PGP SIGNATURE-----

--
To UNSUBSCRIBE, email to debian-security-announce-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

No comments: