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-200504-06] sharutils: Insecure temporary file creation


Vulnerability Assessment Details

[GLSA-200504-06] sharutils: Insecure temporary file creation

Vulnerability Assessment Summary
sharutils: Insecure temporary file creation

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200504-06
(sharutils: Insecure temporary file creation)


Joey Hess has discovered that the program unshar, which is a part
of sharutils, creates temporary files in a world-writable directory
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 unshar is executed, this would result in the file being
overwritten with the rights of the user running the utility, which
could be the root user.

Workaround

There is no known workaround at this time.

References:
http://www.ubuntulinux.org/support/documentation/usn/usn-104-1


Solution:
All sharutils users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/sharutils-4.2.1-r11"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

Dell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 16GB 11x 300GB 15K H710 RPS
$1592.02
Dell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 16GB 11x 300GB 15K H710 RPS pictureDell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 32GB 11x 300GB 15K H710 RPS
$1628.26
Dell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 32GB 11x 300GB 15K H710 RPS pictureDell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 48GB 11x 300GB 15K H710 RPS
$1664.5
Dell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 48GB 11x 300GB 15K H710 RPS pictureDell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 64GB 11x 300GB 15K H710 RPS
$1700.74
Dell Poweredge R720 16 Bay Server 2x 8C 2.9GHZ/20MB 64GB 11x 300GB 15K H710 RPS picture


Discussions

No Discussions have been posted on this vulnerability.