1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200710-18 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: util-linux: Local privilege escalation |
9 |
Date: October 18, 2007 |
10 |
Bugs: #195390 |
11 |
ID: 200710-18 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The mount and umount programs might allow local attackers to gain root |
19 |
privileges. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
util-linux is a suite of Linux programs including mount and umount, |
25 |
programs used to mount and unmount filesystems. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 sys-apps/util-linux < 2.12r-r8 >= 2.12r-r8 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Ludwig Nussel discovered that the check_special_mountprog() and |
39 |
check_special_umountprog() functions call setuid() and setgid() in the |
40 |
wrong order and do not check the return values, which can lead to |
41 |
privileges being dropped improperly. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A local attacker may be able to exploit this vulnerability by using |
47 |
mount helpers such as the mount.nfs program to gain root privileges and |
48 |
run arbitrary commands. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
There is no known workaround at this time. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
All util-linux users should upgrade to the latest version: |
59 |
|
60 |
# emerge --sync |
61 |
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.12r-r8" |
62 |
|
63 |
References |
64 |
========== |
65 |
|
66 |
[ 1 ] CVE-2007-5191 |
67 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5191 |
68 |
|
69 |
Availability |
70 |
============ |
71 |
|
72 |
This GLSA and any updates to it are available for viewing at |
73 |
the Gentoo Security Website: |
74 |
|
75 |
http://security.gentoo.org/glsa/glsa-200710-18.xml |
76 |
|
77 |
Concerns? |
78 |
========= |
79 |
|
80 |
Security is a primary focus of Gentoo Linux and ensuring the |
81 |
confidentiality and security of our users machines is of utmost |
82 |
importance to us. Any security concerns should be addressed to |
83 |
security@g.o or alternatively, you may file a bug at |
84 |
http://bugs.gentoo.org. |
85 |
|
86 |
License |
87 |
======= |
88 |
|
89 |
Copyright 2007 Gentoo Foundation, Inc; referenced text |
90 |
belongs to its owner(s). |
91 |
|
92 |
The contents of this document are licensed under the |
93 |
Creative Commons - Attribution / Share Alike license. |
94 |
|
95 |
http://creativecommons.org/licenses/by-sa/2.5 |