Vulnerabilities > CVE-2010-3879 - Link Following vulnerability in Libfuse Project Libfuse
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
FUSE, possibly 2.8.5 and earlier, allows local users to create mtab entries with arbitrary pathnames, and consequently unmount any filesystem, via a symlink attack on the parent directory of the mountpoint of a FUSE filesystem, a different vulnerability than CVE-2010-0789.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Symlink Attack An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
- Accessing, Modifying or Executing Executable Files An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating Input to File System Calls An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Exploit-Db
description | FUSE fusermount Tool Race Condition Vulnerability. CVE-2010-3879. Local exploit for linux platform |
id | EDB-ID:34953 |
last seen | 2016-02-04 |
modified | 2010-11-02 |
published | 2010-11-02 |
reporter | halfdog |
source | https://www.exploit-db.com/download/34953/ |
title | FUSE fusermount Tool - Race Condition Vulnerability |
Nessus
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2011-1083.NASL description Updated fuse packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. FUSE (Filesystem in Userspace) can implement a fully functional file system in a user-space program. These packages provide the mount utility, fusermount, the tool used to mount FUSE file systems. Multiple flaws were found in the way fusermount handled the mounting and unmounting of directories when symbolic links were present. A local user in the fuse group could use these flaws to unmount file systems, which they would otherwise not be able to unmount and that were not mounted using FUSE, via a symbolic link attack. (CVE-2010-3879, CVE-2011-0541, CVE-2011-0542, CVE-2011-0543) Note: The util-linux-ng RHBA-2011:0699 update must also be installed to fully correct the above flaws. All users should upgrade to these updated packages, which contain backported patches to correct these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 55635 published 2011-07-21 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55635 title RHEL 6 : fuse (RHSA-2011:1083) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2013-154.NASL description A vulnerability has been found and corrected in util-linux : An information disclosure flaw was found in the way the mount command reported errors. A local attacker could use this flaw to determine the existence of files and directories they do not have access to (CVE-2013-0157). Additionally for Mandriva Enterprise Server 5 a patch was added to support a new --no-canonicalize switch for mount to support the fix for CVE-2010-3879 in fuse. The updated packages have been patched to correct these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 66265 published 2013-04-30 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/66265 title Mandriva Linux Security Advisory : util-linux (MDVSA-2013:154) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-1045-1.NASL description It was discovered that FUSE could be tricked into incorrectly updating the mtab file when mounting filesystems. A local attacker, with access to use FUSE, could unmount arbitrary locations, leading to a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 51583 published 2011-01-20 reporter Ubuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/51583 title Ubuntu 8.04 LTS / 9.10 / 10.04 LTS / 10.10 : fuse vulnerability (USN-1045-1) NASL family SuSE Local Security Checks NASL id SUSE_UTIL-LINUX-AND-FUSE-201103-7362.NASL description The following security issues were fixed in fuse and util-linux : - FUSE allowed local users to create mtab entries with arbitrary pathnames, and consequently unmount any filesystem, via a symlink attack on the parent directory of the mountpoint of a FUSE filesystem. (CVE-2010-3879) - Avoid mounting a directory including evaluation of symlinks, which might have allowed local attackers to mount filesystems anywhere in the system. (CVE-2011-0541) - Avoid symlink attacks on the mount point written in the mtab file. (CVE-2011-0543) Additional two bugs were fixed in util-linux : - fixed retrying nfs mounts on rpc timeouts - allow seperate control of the internet protocol uses by rpc.mount seperately of the protocol used by nfs. New features were implemented: - mount now has --fake and --no-canonicalize options, required for the symlink security fixes. These were backported from mainline. last seen 2020-06-01 modified 2020-06-02 plugin id 53256 published 2011-04-01 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53256 title SuSE 10 Security Update : FUSE (ZYPP Patch Number 7362) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-1045-2.NASL description USN-1045-1 fixed vulnerabilities in FUSE. This update to util-linux adds support for new options required by the FUSE update. It was discovered that FUSE could be tricked into incorrectly updating the mtab file when mounting filesystems. A local attacker, with access to use FUSE, could unmount arbitrary locations, leading to a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 51584 published 2011-01-20 reporter Ubuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/51584 title Ubuntu 8.04 LTS / 9.10 / 10.04 LTS / 10.10 : util-linux update (USN-1045-2) NASL family Scientific Linux Local Security Checks NASL id SL_20110720_FUSE_ON_SL6_X.NASL description FUSE (Filesystem in Userspace) can implement a fully functional file system in a user-space program. These packages provide the mount utility, fusermount, the tool used to mount FUSE file systems. Multiple flaws were found in the way fusermount handled the mounting and unmounting of directories when symbolic links were present. A local user in the fuse group could use these flaws to unmount file systems, which they would otherwise not be able to unmount and that were not mounted using FUSE, via a symbolic link attack. (CVE-2010-3879, CVE-2011-0541, CVE-2011-0542, CVE-2011-0543) All users should upgrade to these updated packages, which contain backported patches to correct these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 61086 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61086 title Scientific Linux Security Update : fuse on SL6.x i386/x86_64 NASL family SuSE Local Security Checks NASL id SUSE_11_2_FUSE-110228.NASL description Race conditions in fuse allowed unprivileged users to umount arbitrary mount points (CVE-2011-0541,CVE-2010-3879,CVE-2011-0543). last seen 2020-06-01 modified 2020-06-02 plugin id 53724 published 2011-05-05 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/53724 title openSUSE Security Update : fuse (openSUSE-SU-2011:0265-1) NASL family SuSE Local Security Checks NASL id SUSE_11_3_FUSE-110228.NASL description Race conditions in fuse allowed unprivileged users to umount arbitrary mount points (CVE-2011-0541,CVE-2010-3879,CVE-2011-0543). last seen 2020-06-01 modified 2020-06-02 plugin id 75508 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/75508 title openSUSE Security Update : fuse (openSUSE-SU-2011:0264-1) NASL family SuSE Local Security Checks NASL id SUSE_11_UTIL-LINUX-AND-FUSE-201103-110302.NASL description The following security issues were fixed : - FUSE allowed local users to create mtab entries with arbitrary pathnames, and consequently unmount any filesystem, via a symlink attack on the parent directory of the mountpoint of a FUSE filesystem. (CVE-2010-3879) - Avoid mounting a directory including evaluation of symlinks, which might have allowed local attackers to mount filesystems anywhere in the system. (CVE-2011-0541) - Avoid symlink attacks on the mount point written in the mtab file. Four bugs were fixed:. (CVE-2011-0543) - fixed retrying nfs mounts on rpc timeouts - allow seperate control of the internet protocol uses by rpc.mount seperately of the protocol used by nfs. - Fixed locking in libuuid/uuid to avoid duplicate uuids. - mkswap bad block check marked every block bad in O(n!) time on a good device New features were implemented : - mount now has --fake and --no-canonicalize options, required for the symlink security fixes. These were backported from mainline. - mount can now auto-detect and differentiate between squashfs3 and squashfs (v4) filesystems, allowing backward compatibility to the SUSE Linux Enterprise 11 GA codebase. last seen 2020-06-01 modified 2020-06-02 plugin id 53231 published 2011-03-31 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53231 title SuSE 11.1 Security Update : FUSE (SAT Patch Number 4095) NASL family SuSE Local Security Checks NASL id SUSE_UTIL-LINUX-AND-FUSE-201103-7418.NASL description The following security issues were fixed in fuse : - FUSE allowed local users to create mtab entries with arbitrary pathnames, and consequently unmount any filesystem, via a symlink attack on the parent directory of the mountpoint of a FUSE filesystem. (CVE-2010-3879) - Avoid mounting a directory including evaluation of symlinks, which might have allowed local attackers to mount filesystems anywhere in the system. (CVE-2011-0541) - Avoid symlink attacks on the mount point written in the mtab file. (CVE-2011-0543) last seen 2020-06-01 modified 2020-06-02 plugin id 57257 published 2011-12-13 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/57257 title SuSE 10 Security Update : fuse (ZYPP Patch Number 7418) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2011-1083.NASL description From Red Hat Security Advisory 2011:1083 : Updated fuse packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. FUSE (Filesystem in Userspace) can implement a fully functional file system in a user-space program. These packages provide the mount utility, fusermount, the tool used to mount FUSE file systems. Multiple flaws were found in the way fusermount handled the mounting and unmounting of directories when symbolic links were present. A local user in the fuse group could use these flaws to unmount file systems, which they would otherwise not be able to unmount and that were not mounted using FUSE, via a symbolic link attack. (CVE-2010-3879, CVE-2011-0541, CVE-2011-0542, CVE-2011-0543) Note: The util-linux-ng RHBA-2011:0699 update must also be installed to fully correct the above flaws. All users should upgrade to these updated packages, which contain backported patches to correct these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 68309 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/68309 title Oracle Linux 6 : fuse (ELSA-2011-1083) NASL family Fedora Local Security Checks NASL id FEDORA_2011-0854.NASL description util-linux-ng update with fixes for mount/umount required by the fuse fix for CVE-2010-3879 (properly working --no-canonicalize and --fake options). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 51896 published 2011-02-08 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/51896 title Fedora 14 : util-linux-ng-2.18-4.8.fc14 (2011-0854)
Redhat
rpms |
|
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602333
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602333
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053792.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053792.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2010-November/077247.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2010-November/077247.html
- http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
- http://openwall.com/lists/oss-security/2010/11/04/8
- http://openwall.com/lists/oss-security/2010/11/04/8
- http://openwall.com/lists/oss-security/2010/11/05/2
- http://openwall.com/lists/oss-security/2010/11/05/2
- http://osvdb.org/70520
- http://osvdb.org/70520
- http://secunia.com/advisories/42961
- http://secunia.com/advisories/42961
- http://secunia.com/advisories/42965
- http://secunia.com/advisories/42965
- http://www.halfdog.net/Security/FuseTimerace/
- http://www.halfdog.net/Security/FuseTimerace/
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:155
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:155
- http://www.securityfocus.com/bid/44623
- http://www.securityfocus.com/bid/44623
- http://www.ubuntu.com/usn/USN-1045-1
- http://www.ubuntu.com/usn/USN-1045-1
- http://www.ubuntu.com/usn/USN-1045-2
- http://www.ubuntu.com/usn/USN-1045-2
- http://www.vupen.com/english/advisories/2011/0181
- http://www.vupen.com/english/advisories/2011/0181
- http://www.vupen.com/english/advisories/2011/0302
- http://www.vupen.com/english/advisories/2011/0302
- https://bugs.launchpad.net/bugs/670622
- https://bugs.launchpad.net/bugs/670622
- https://bugzilla.novell.com/show_bug.cgi?id=651598
- https://bugzilla.novell.com/show_bug.cgi?id=651598
- https://bugzilla.redhat.com/show_bug.cgi?id=651183
- https://bugzilla.redhat.com/show_bug.cgi?id=651183
- https://exchange.xforce.ibmcloud.com/vulnerabilities/62986
- https://exchange.xforce.ibmcloud.com/vulnerabilities/62986