GLSA-200405-03 : ClamAV VirusEvent parameter vulnerability

This script is Copyright (C) 2004-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200405-03
(ClamAV VirusEvent parameter vulnerability)

The VirusEvent parameter in the clamav.conf configuration file allows
to specify a system command to run whenever a virus is found. This
system command can make use of the '%f' parameter which is replaced by
the name of the file infected. The name of the file scanned is under
control of the attacker and is not sufficiently checked. Version 0.70
of clamav disables the use of the '%f' parameter.

Impact :

Sending a virus with a malicious file name can result in execution of
arbitrary system commands with the rights of the antivirus process.
Since clamav is often associated to mail servers for email scanning,
this attack can be used remotely.

Workaround :

You should not use the '%f' parameter in your VirusEvent configuration.

See also :

Solution :

All users of Clam AntiVirus should upgrade to the latest stable
# emerge sync
# emerge -pv '>=app-antivirus/clamav-0.70'
# emerge '>=app-antivirus/clamav-0.70'

Risk factor :

Medium / CVSS Base Score : 4.6

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14489 (gentoo_GLSA-200405-03.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1876

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now