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: 9.3 [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]
CVE-ID: CVE-2011-1018
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

logwatch
Gentoo Linux

How to mitigate CVE-2011-1018

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins