FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

rkhunter -- insecure temporary file creation

Affected packages
rkhunter < 1.2.5


VuXML ID f14ad681-5b88-11dc-812d-0011098b2f36
Discovery 2005-04-26
Entry 2007-09-05

Gentoo reports:

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.

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.


Bugtraq ID 13399
CVE Name CVE-2005-1270