Skip to content
OpenAdvisories
Unscored Public exploit CVE-2011-1018 EUVD-2011-1035GHSA-g657-whx2-ph73

logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in a log file name, as demonst…

Published Feb 25, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in a log file name, as demonstrated via a crafted username to a Samba server.

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.

ReleasePackageFixed inAdvisory
Debian 14 logwatch 7.3.6.cvs20090906-2 —
Debian 13 logwatch 7.3.6.cvs20090906-2 —
Debian 12 logwatch 7.3.6.cvs20090906-2 —
Debian 6.0 logwatch 7.3.6.cvs20090906-1squeeze1 DSA-2182-1
Debian 5.0 logwatch 7.3.6.cvs20080702-2lenny1 DSA-2182-1
ReleasePackageFixed inAdvisory
RHEL 6 logwatch 7.3.6-49.el6 RHSA-2011:0324
RHEL 5 logwatch 7.3-9.el5_6 RHSA-2011:0324
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed logwatch 7.4.3-1.4 openSUSE-SU-2024:10097-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References