Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200506-22 ] sudo: Arbitrary command execution
Date: Thu, 23 Jun 2005 07:48:03
Message-Id: 200506230926.56802.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200506-22
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: sudo: Arbitrary command execution
9 Date: June 23, 2005
10 Bugs: #96618
11 ID: 200506-22
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in sudo may allow local users to elevate privileges.
19
20 Background
21 ==========
22
23 sudo allows a system administrator to give users the ability to run
24 commands as other users.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 app-admin/sudo < 1.6.8_p9 >= 1.6.8_p9
33
34 Description
35 ===========
36
37 The sudoers file is used to define the actions sudo users are permitted
38 to perform. Charles Morris discovered that a specific layout of the
39 sudoers file could cause the results of an internal check to be
40 clobbered, leaving sudo vulnerable to a race condition.
41
42 Impact
43 ======
44
45 Successful exploitation would permit a local sudo user to execute
46 arbitrary commands as another user.
47
48 Workaround
49 ==========
50
51 Reorder the sudoers file using the visudo utility to ensure the 'ALL'
52 pseudo-command precedes other command definitions.
53
54 Resolution
55 ==========
56
57 All sudo users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.6.8_p9"
61
62 References
63 ==========
64
65 [ 1 ] Sudo Announcement
66 http://www.sudo.ws/sudo/alerts/path_race.html
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 http://security.gentoo.org/glsa/glsa-200506-22.xml
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 http://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2005 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 http://creativecommons.org/licenses/by-sa/2.0