blob: 5fe87837a73663a2226b61fce2e932725b4d2481 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200504-25">
<title>Rootkit Hunter: Insecure temporary file creation</title>
Rootkit Hunter is vulnerable to symlink attacks, potentially allowing a
local user to overwrite arbitrary files.
<product type="ebuild">rkhunter</product>
<announced>April 26, 2005</announced>
<revised>April 26, 2005: 01</revised>
<package name="app-forensics/rkhunter" auto="yes" arch="*">
<unaffected range="ge">1.2.3-r1</unaffected>
<vulnerable range="lt">1.2.3-r1</vulnerable>
Rootkit Hunter is a scanning tool to detect rootkits, backdoors
and local exploits on a local machine. Rootkit Hunter uses downloaded
data files to check file integrity. These files are updated via the script.
Sune Kloppenborg Jeppesen and Tavis Ormandy of the Gentoo Linux
Security Team have reported that the script and the
main rkhunter script insecurely creates several temporary files with
predictable filenames.
<impact type="normal">
A local attacker could create symbolic links in the temporary
files directory, pointing to a valid file somewhere on the filesystem.
When rkhunter or the script runs, this would result in
the file being overwritten with the rights of the user running the
utility, which could be the root user.
There is no known workaround at this time.
All Rootkit Hunter users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-forensics/rkhunter-1.2.3-r1&quot;</code>
<uri link="">CAN-2005-1270</uri>
<metadata tag="submitter" timestamp="Tue, 26 Apr 2005 06:10:01 +0000">
<metadata tag="bugReady" timestamp="Tue, 26 Apr 2005 18:37:38 +0000">