Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200411-22] Davfs2, lvm-user: Insecure tempfile handling


Vulnerability Assessment Details

[GLSA-200411-22] Davfs2, lvm-user: Insecure tempfile handling

Vulnerability Assessment Summary
Davfs2, lvm-user: Insecure tempfile handling

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200411-22
(Davfs2, lvm-user: Insecure tempfile handling)


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.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0972


Solution:
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"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

Intel Xeon E7-4830 2.13GHz 24MB 6.4GT/s SLC3Q CPU Server Processor
$24.75
Intel Xeon E7-4830 2.13GHz 24MB 6.4GT/s SLC3Q CPU Server Processor pictureIntel Xeon E5-2680V2 2.8GHz Ten Core (BX80635E52680V2) Processor
$4200.0
Intel Xeon E5-2680V2 2.8GHz Ten Core (BX80635E52680V2) Processor pictureDELL DIMENSION Motherboard P/N 411726100004 Pentium 4 CPU 2.66ghz / 512 / 533
$39.95
DELL DIMENSION Motherboard P/N 411726100004 Pentium 4 CPU 2.66ghz / 512 / 533 pictureCPU Cooler Fan Heatsink Computer Heat Conduction Pipes Processor Aluminium PC
$35.02
CPU Cooler Fan Heatsink Computer Heat Conduction Pipes Processor Aluminium PC    picture


Discussions

No Discussions have been posted on this vulnerability.