sharutils temporary files symlink
| sharutils-temp-file-symlink (19957) |
Description:
The sharutils package, included with many Linux distributions, could allow a local attacker to launch a symlink attack. sharutils creates insecure temporary files. A local attacker could use this vulnerability to create symbolic links from a temporary file to create or overwrite arbitrary files on the system with user privileges.
Consequences:
File Manipulation
Remedy:
For Ubuntu Linux:
Upgrade to the latest sharutils package (1:4.2.1-10ubuntu0.2 or later), as listed in USN-104-1. See References.
For Turbolinux:
Upgrade to the latest sharutils package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-54 for more information. See References.
Turbolinux Appliance Server 1.0 Hosting Edition: 4.2.1-16 or later
Turbolinux 10 Server: 4.2.1-16 or later
Turbolinux Home: 4.2.1-16 or later
Turbolinux 10 Desktop: 4.2.1-16 or later
Turbolinux 8 Server: 4.2.1-16 or later
Turbolinux 8 Workstation: 4.2.1-16 or later
Turbolinux 7 Server: 4.2.1-16 or later
Turbolinux 7 Workstation: 4.2.1-16 or later
For Red Hat Linux:
Refer to RHSA-2005:377-07 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-04-06 for patch, upgrade, or suggested workaround information. See References.
References:
- CIAC INFORMATION BULLETIN P-194: Buffer Overflow in sharutils.
- BID-12981: GNU Sharutils Unshar Local Insecure Temporary File Creation Vulnerability
- CVE-2005-0990: unshar (unshar.c) in sharutils 4.2.1 allows local users to overwrite arbitrary files via a symlink attack on the unsh.X temporary file.
- GLSA-200504-06: sharutils: Insecure temporary file creation
- RHSA-2005-377: sharutils security update
Platforms Affected:
- Canonical Ubuntu 4.10
- Gentoo Linux
- GNU sharutils 4.2.1
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- RedHat Linux Advanced Workstation 2.1 Itanium
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 7 Server
- Turbolinux Turbolinux 7 Workstation
- Turbolinux Turbolinux 8 Server
- Turbolinux Turbolinux 8 Workstation
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
Reported:
Apr 04, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
