Joined: 12 May 2004
|Posted: Tue Nov 22, 2005 4:59 pm Post subject: [ GLSA 200511-17 ] FUSE: mtab corruption through fusermount
|Gentoo Linux Security Advisory
Title: FUSE: mtab corruption through fusermount (GLSA 200511-17)
Date: November 22, 2005
The fusermount utility from FUSE can be abused to corrupt the /etc/mtab file contents, potentially allowing a local attacker to set unauthorized mount options.
FUSE (Filesystem in Userspace) allows implementation of a fully functional filesystem in a userspace program. The fusermount utility is used to mount/unmount FUSE file systems.
Vulnerable: < 2.4.1-r1
Unaffected: >= 2.4.1-r1
Architectures: All supported architectures
Thomas Biege discovered that fusermount fails to securely handle special characters specified in mount points.
A local attacker could corrupt the contents of the /etc/mtab file by mounting over a maliciously-named directory using fusermount, potentially allowing the attacker to set unauthorized mount options. This is possible only if fusermount is installed setuid root, which is the default in Gentoo.
There is no known workaround at this time.
All FUSE users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-fs/fuse-2.4.1-r1"
Last edited by GLSA on Mon Nov 06, 2006 4:17 am; edited 3 times in total