Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rkhunter | 1.2.7-14 | — |
| Debian 13 | rkhunter | 1.2.7-14 | — |
| Debian 12 | rkhunter | 1.2.7-14 | — |
References
- 13399 vdb-entry
- rootkit-hunter-checkupdate-symlink(20279) vdb-entry
- 15127 third-party-advisory
- 15861 vdb-entry
- GLSA-200504-25 vendor-advisory