1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201006-09 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: sudo: Privilege escalation |
9 |
Date: June 01, 2010 |
10 |
Bugs: #321697 |
11 |
ID: 201006-09 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A flaw in sudo's -e option may allow local attackers to execute |
19 |
arbitrary commands. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
sudo allows a system administrator to give users the ability to run |
25 |
commands as other users. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 app-admin/sudo < 1.7.2_p6 >= 1.7.2_p6 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
The command matching functionality does not properly handle when a file |
39 |
in the current working directory has the same name as a pseudo-command |
40 |
in the sudoers file and the PATH contains an entry for ".". |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
A local attacker with the permission to run sudoedit could, under |
46 |
certain circumstances, execute arbitrary commands as whichever user he |
47 |
has permission to run sudoedit as, typically root. |
48 |
|
49 |
Workaround |
50 |
========== |
51 |
|
52 |
There is no known workaround at this time. |
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.7.2_p6" |
61 |
|
62 |
References |
63 |
========== |
64 |
|
65 |
[ 1 ] CVE-2010-1163 |
66 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1163 |
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-201006-09.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 |
https://bugs.gentoo.org. |
84 |
|
85 |
License |
86 |
======= |
87 |
|
88 |
Copyright 2010 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.5 |