Input validation error in logwatch - CVE-2011-1018

 

Input validation error in logwatch - CVE-2011-1018

Published: February 25, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45295
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2011-1018
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: www.logwatch.org
Affected software:
logwatch

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2011-1018

Install update from vendor's website.

Sources