===================================================================== CERT-Renater Note d'Information No. 2005/VULN441 _____________________________________________________________________ DATE : 08/07/2005 HARDWARE PLATFORM(S) : / OPERATING SYSTEM(S) : Systems running sudo. ====================================================================== - ------------------------------------------------------------------------ Debian Security Advisory DSA 735-2 security at 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 at lists.debian.org Package info: `apt-cache show ' and http://packages.debian.org/ ====================================================================== ========================================================= Les serveurs de référence du CERT-Renater http://www.urec.fr/securite http://www.cru.fr/securite http://www.renater.fr ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 151 bd de l'Hopital | fax : 01-53-94-20-41 + + 75013 Paris | email: certsvp@renater.fr + =========================================================