Debian DSA-2182-1 : logwatch - shell command injection

critical Nessus Plugin ID 52549

Synopsis

The remote Debian host is missing a security-related update.

Description

Dominik George discovered that Logwatch does not guard against shell meta-characters in crafted log file names (such as those produced by Samba). As a result, an attacker might be able to execute shell commands on the system running Logwatch.

Solution

Upgrade the logwatch packages.

For the oldstable distribution (lenny), this problem has been fixed in version 7.3.6.cvs20080702-2lenny1.

For the stable distribution (squeeze), this problem has been fixed in version 7.3.6.cvs20090906-1squeeze1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615995

https://packages.debian.org/source/squeeze/logwatch

https://www.debian.org/security/2011/dsa-2182

Plugin Details

Severity: Critical

ID: 52549

File Name: debian_DSA-2182.nasl

Version: 1.13

Type: local

Agent: unix

Published: 3/7/2011

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:logwatch, cpe:/o:debian:debian_linux:5.0, cpe:/o:debian:debian_linux:6.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/4/2011

Reference Information

CVE: CVE-2011-1018

BID: 46734

DSA: 2182