First published: Thu Feb 24 2011(Updated: )
A security flaw was found in the way logwatch, a log file analysis program, pre-processed log files, containing certain special characters in their names. A remote attacker could use this flaw to execute arbitrary code with the privileges of the privileged system user (root) by creating a specially-crafted log file, subsequently analyzed by the logwatch script. Upstream bug report: [1] <a href="http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824">http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824</a> Related patch: [2] <a href="http://logwatch.svn.sourceforge.net/viewvc/logwatch?view=revision&revision=26">http://logwatch.svn.sourceforge.net/viewvc/logwatch?view=revision&revision=26</a> Other references: [3] <a href="http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel">http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Logwatch |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-680237 is critical due to the potential for arbitrary code execution with root privileges.
To fix REDHAT-BUG-680237, update the Logwatch package to the latest version provided by your distribution.
REDHAT-BUG-680237 affects specific versions of Logwatch that process log files containing special characters.
Yes, REDHAT-BUG-680237 can be exploited remotely if an attacker creates log files with specially crafted names.
REDHAT-BUG-680237 enables arbitrary code execution attacks on systems running vulnerable versions of Logwatch.