Rootkit Hunter check_update.sh symlink
| rootkit-hunter-checkupdate-symlink (20279) |
Description:
Rootkit Hunter (rkhunter) could allow a local attacker to launch a symlink attack. check_update.sh script and the main Rootkit Hunter script create insecure temporary files with predictable filenames. A local attacker could exploit this vulnerability by creating a symbolic link from a temporary file, which could allow the attacker to create or overwrite arbitrary files on the system with the privileges of the user.
Consequences:
File Manipulation
Remedy:
For Gentoo Linux:
Upgrade to the latest version of Rootkit Hunter (1.2.3-rl and later), as listed in Gentoo Linux Security Announcement GLSA 200504-25. See References.
References:
- BID-13399: Rootkit Hunter Local Insecure Temporary File Creation Vulnerability
- CVE-2005-1270: The (1) check_update.sh and (2) rkhunter script in Rootkit Hunter before 1.2.3-r1 create temporary files with predictable file names, which allows local users to overwrite arbitrary files via a symlink attack.
- GLSA-200504-25: Rootkit Hunter: Insecure temporary file creation
- OSVDB ID: 15861: Rootkit Hunter rkhunter Symlink Arbitrary File Overwrite
- SA15127: Rootkit Hunter Insecure Temporary File Creation
Platforms Affected:
- Gentoo Linux
- Gentoo rootkit hunter 1.2
- Gentoo rootkit hunter 1.2.1
- Gentoo rootkit hunter 1.2.2
- Gentoo rootkit hunter 1.2.3
Reported:
Apr 26, 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
