Description
include/tests_webservers in Lynis before 1.5.5 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/lynis.*.unsorted file with an easily determined name.
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 | lynis | 1.5.5-1 | — |
| Debian 13 | lynis | 1.5.5-1 | — |
| Debian 12 | lynis | 1.5.5-1 | — |
References
- http://cisofy.com/files/lynis-1.5.5.tar.gz
- [oss-security] 20140606 Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure mailing-list
- [oss-security] 20140605 CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure mailing-list
- 20140604 More /tmp fun (PHP, Lynis) mailing-list
- [oss-security] 20140606 Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure mailing-list