GLSA-200405-03 : ClamAV VirusEvent parameter vulnerability

Medium Nessus Plugin ID 14489


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


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.


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

See Also

Plugin Details

Severity: Medium

ID: 14489

File Name: gentoo_GLSA-200405-03.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2004/08/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:clamav, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2004/05/11

Vulnerability Publication Date: 2004/03/31

Reference Information

CVE: CVE-2004-1876

OSVDB: 4759

GLSA: 200405-03