GLSA-201203-20 : Logwatch: Arbitrary code execution
Critical Nessus Plugin ID 59612
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201203-20 (Logwatch: Arbitrary code execution)
logwatch.pl does not properly sanitize log filenames against shell metacharacters before passing them to the 'system()' function.
A remote attacker could pass a specially crafted log filename to Logwatch, possibly resulting in execution of arbitrary code with root privileges or a Denial of Service condition.
There is no known workaround at this time.
SolutionAll Logwatch users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/logwatch-7.4.0'