Description
Argument injection vulnerability in greylistclean.cron in sa-exim 4.2 allows remote attackers to delete arbitrary files via an email with a To field that contains a filename separated by whitespace, which is not quoted when greylistclean.cron provides the argument to the rm command.
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 13 | sa-exim | 4.2.1-1 | — |
| Debian 12 | sa-exim | 4.2.1-1 | — |
References
- 19225 third-party-advisory
- saexim-greylistclean-file-deletion(25286) vdb-entry
- 17110 vdb-entry
- http://marc.merlins.org/linux/exim/files/sa-exim-cvs/Changelog.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345071
- ADV-2006-0941 vdb-entry