ClamAV < 0.94 Multiple Vulnerabilities

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote antivirus service is affected by multiple issues.

Description :

According to its version, the clamd antivirus daemon on the remote
host is earlier than 0.94. Such versions are affected by one or more
of the following issues :

- A segmentation fault can occur when processing corrupted
LZH files. (Bug #1052)

- Invalid memory access errors in 'libclamav/chmunpack.c'
when processing malformed CHM files may lead to a
crash. (Bug #1089)

- An out-of-memory null dereference issue exists in
'libclamav/message.c' / 'libclamav/mbox.c'. (Bug #1141)

- Possible error path memory leaks exist in
'freshclam/manager.c'. (Bug #1141)

- There is an invalid close on error path in
'shared/tar.c'. (Bug #1141)

- There are multiple file descriptor leaks involving the
'error path' in 'libclamav/others.c' and
'libclamav/sis.c'. (Bug #1141)

See also :

http://archives.neohapsis.com/archives/bugtraq/2008-09/0056.html
http://archives.neohapsis.com/archives/bugtraq/2008-12/0111.html
http://www.openwall.com/lists/oss-security/2008/09/03/2
http://www.openwall.com/lists/oss-security/2008/09/04/13
https://bugzilla.clamav.net/show_bug.cgi?id=1052
https://bugzilla.clamav.net/show_bug.cgi?id=1089
http://www.nessus.org/u?91209430
http://www.nessus.org/u?b818ae81

Solution :

Upgrade to ClamAV 0.94 or later.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.5
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gain a shell remotely

Nessus Plugin ID: 35087 (clamav_0_94.nasl)

Bugtraq ID: 30994
31051
32752

CVE ID: CVE-2008-1389
CVE-2008-3912
CVE-2008-3913
CVE-2008-3914
CVE-2008-6845