1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200511-17 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: FUSE: mtab corruption through fusermount |
9 |
Date: November 22, 2005 |
10 |
Bugs: #112902 |
11 |
ID: 200511-17 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The fusermount utility from FUSE can be abused to corrupt the /etc/mtab |
19 |
file contents, potentially allowing a local attacker to set |
20 |
unauthorized mount options. |
21 |
|
22 |
Background |
23 |
========== |
24 |
|
25 |
FUSE (Filesystem in Userspace) allows implementation of a fully |
26 |
functional filesystem in a userspace program. The fusermount utility is |
27 |
used to mount/unmount FUSE file systems. |
28 |
|
29 |
Affected packages |
30 |
================= |
31 |
|
32 |
------------------------------------------------------------------- |
33 |
Package / Vulnerable / Unaffected |
34 |
------------------------------------------------------------------- |
35 |
1 sys-fs/fuse < 2.4.1-r1 >= 2.4.1-r1 |
36 |
|
37 |
Description |
38 |
=========== |
39 |
|
40 |
Thomas Biege discovered that fusermount fails to securely handle |
41 |
special characters specified in mount points. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A local attacker could corrupt the contents of the /etc/mtab file by |
47 |
mounting over a maliciously-named directory using fusermount, |
48 |
potentially allowing the attacker to set unauthorized mount options. |
49 |
This is possible only if fusermount is installed setuid root, which is |
50 |
the default in Gentoo. |
51 |
|
52 |
Workaround |
53 |
========== |
54 |
|
55 |
There is no known workaround at this time. |
56 |
|
57 |
Resolution |
58 |
========== |
59 |
|
60 |
All FUSE users should upgrade to the latest version: |
61 |
|
62 |
# emerge --sync |
63 |
# emerge --ask --oneshot --verbose ">=sys-fs/fuse-2.4.1-r1" |
64 |
|
65 |
References |
66 |
========== |
67 |
|
68 |
[ 1 ] CVE-2005-3531 |
69 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3531 |
70 |
|
71 |
Availability |
72 |
============ |
73 |
|
74 |
This GLSA and any updates to it are available for viewing at |
75 |
the Gentoo Security Website: |
76 |
|
77 |
http://security.gentoo.org/glsa/glsa-200511-17.xml |
78 |
|
79 |
Concerns? |
80 |
========= |
81 |
|
82 |
Security is a primary focus of Gentoo Linux and ensuring the |
83 |
confidentiality and security of our users machines is of utmost |
84 |
importance to us. Any security concerns should be addressed to |
85 |
security@g.o or alternatively, you may file a bug at |
86 |
http://bugs.gentoo.org. |
87 |
|
88 |
License |
89 |
======= |
90 |
|
91 |
Copyright 2005 Gentoo Foundation, Inc; referenced text |
92 |
belongs to its owner(s). |
93 |
|
94 |
The contents of this document are licensed under the |
95 |
Creative Commons - Attribution / Share Alike license. |
96 |
|
97 |
http://creativecommons.org/licenses/by-sa/2.0 |