Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200411-22 ] Davfs2, lvm-user: Insecure tempfile handling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Thu Nov 11, 2004 9:41 pm    Post subject: [ GLSA 200411-22 ] Davfs2, lvm-user: Insecure tempfile handl Reply with quote

Gentoo Linux Security Advisory

Title: Davfs2, lvm-user: Insecure tempfile handling (GLSA 200411-22)
Severity: normal
Exploitable: local
Date: November 11, 2004
Bug(s): #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: net-fs/davfs2
Vulnerable: < 0.2.2-r1
Unaffected: >= 0.2.2-r1
Architectures: All supported architectures

Package: sys-fs/lvm-user
Vulnerable: < 1.0.7-r2
Unaffected: >= 1.0.7-r2
Architectures: All 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:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-fs/davfs2-0.2.2-r1"
All lvm-user users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-fs/lvm-user-1.0.7-r2"


References

CAN-2004-0972


Last edited by GLSA on Sun May 07, 2006 4:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum