Joined: 12 May 2004
|Posted: Wed Mar 28, 2012 11:26 am Post subject: [ GLSA 201203-20 ] Logwatch: Arbitrary code execution
|Gentoo Linux Security Advisory
Title: Logwatch: Arbitrary code execution (GLSA 201203-20)
Date: March 28, 2012
A vulnerability in Logwatch might allow remote attackers to execute
Logwatch analyzes and reports on system logs.
Vulnerable: < 7.4.0
Unaffected: >= 7.4.0
Architectures: All supported architectures
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.
All Logwatch users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/logwatch-7.4.0"