A vulnerability in DavFS2 allows local users to gain root privileges.. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 201612-02 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: DavFS2: Local privilege escalation Date: December 02, 2016 Bugs: #485232 ID: 201612-02 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= A vulnerability in DavFS2 allows local users to gain root privileges. Background ========= DavFS2 is a file system driver that allows you to mount a WebDAV server as a local disk drive. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-fs/davfs2 < 1.5.2 > = 1.5.2 Description ========== DavFS2 installs "/usr/sbin/mount.davfs" as setuid root. This utility uses "system()" to call "/sbin/modprobe". While the call to "modprobe" itself cannot be manipulated, a local authenticated user can set the "MODPROBE_OPTIONS" environment variable to pass a user controlled path, allowing the loading of an arbitrary kernel module. Impact ===== A local user could gain root privileges. Workaround ========= The system administrator should ensure that all modules the "mount.davfs" utility tries to load are loaded upon system boot before any local user can call the utility. An additional defense measure can be implemented by enabling the Linux kernel module signing feature. This assists in the prevention of arbitrary modules being loaded. Resolution ========= All DavFS2 users should upgrade to the latest version: # emerge --sync # emerge--ask --oneshot --verbose "> =net-fs/davfs2-1.5.2" References ========= [ 1 ] CVE-2013-4362 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4362 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201612-02 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to
The update released for davfs2 in DSA 2765 had a version number for Debian 7 "wheezy" that sorts lower than the version in Debian 6 "squeeze", causing problems on upgrades. This update makes a package of davfs2 in wheezy available which corrects only the version number. . - ------------------------------------------------------------------------- Debian Security Advisory DSA-2765-2
Davfs2, a filesystem client for WebDAV, calls the function system() insecurely while is setuid root. This might allow a privilege escalation. For the oldstable distribution (squeeze), this problem has been fixed in . -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - ------------------------------------------------------------------------- Debian Security Advisory DSA-2765-1
Davfs2 and the lvmcreate_initrd script (included in the lvm-user package) are both vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files with the rights of the user running them. [More...]. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200411-22 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Davfs2, lvm-user: Insecure tempfile handling Date: November 11, 2004 Bugs: #68406, #69149 ID: 200411-22 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= Davfs2 and the lvmcreate_initrd script (included in the lvm-user package) are both vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files with the rights of the user running them. Background ========= Davfs2 is a file system driver that allows you to mount a WebDAV server as a local disk drive. lvm-user is a package providing userland utilities for LVM (Logical Volume Management) 1.x features. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-fs/davfs2 < 0.2.2-r1 > = 0.2.2-r1 2 sys-fs/lvm-user < 1.0.7-r2 > = 1.0.7-r2 ------------------------------------------------------------------- 2 affected packages on all of their supported architectures. ------------------------------------------------------------------- Description ========== Florian Schilhabel from the Gentoo Linux Security Audit Team found that Davfs2 insecurely created .pid files in /tmp. Furthermore,Trustix Secure Linux found that the lvmcreate_initrd script, included in the lvm-user Gentoo package, also creates temporary files in world-writeable directories with predictable names. Impact ===== A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When Davfs2 or lvmcreate_initrd is called, this would result in the file being overwritten with the rights of the user running the software, which could be the root user. Workaround ========= There is no known workaround at this time. Resolution ========= All Davfs2 users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =net-fs/davfs2-0.2.2-r1" All lvm-user users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =sys-fs/lvm-user-1.0.7-r2" References ========= [ 1 ] CAN-2004-0972 https://www.cve.org/CVERecord?id=CAN-2004-0972 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/200411-22 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
Get the latest Linux and open source security news straight to your inbox.