CVE-2011-1018

Logwatch 7.3.6 - Remote Code Execution via Shell Metacharacters in Log File Name

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2011-1018. PoCs published by Dominik George.

AI-analyzed exploit summary This exploit leverages a local privilege escalation vulnerability in Logwatch by manipulating log file names to execute arbitrary commands with superuser privileges. The PoC demonstrates command injection via a crafted log file name.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Dominik George · textremotelinux
https://www.exploit-db.com/exploits/35386

This exploit leverages a local privilege escalation vulnerability in Logwatch by manipulating log file names to execute arbitrary commands with superuser privileges. The PoC demonstrates command injection via a crafted log file name.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Logwatch (versions affected by CVE-2011-1018)
Auth required
Prerequisites: Local access to the system · Ability to write to /var/log/httpd/
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (23)

Core 23
Core References
Patch mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2011/02/24/15
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0581
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43495
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2011/dsa-2182
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43356
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0533
Patch mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2011/02/24/13
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43644
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2011-0324.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43622
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/46554
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1078-1
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0596
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43734
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1025165

Scores

EPSS 0.1832
EPSS Percentile 96.9%

Details

CWE
CWE-20
Status published
Products (1)
logwatch/logwatch 7.3.6
Published Feb 25, 2011
Tracked Since Feb 18, 2026