ClamAV < 0.94.1 get_unicode_name() Function Off-by-One Buffer Overflow (deprecated)

High Nessus Network Monitor Plugin ID 4744

Synopsis

The remote antivirus service is affected by a buffer overflow vulnerability.

Description

According to its version, the clamd antivirus daemon on the remote host is earlier than 0.94.1. Such versions have an off-by-one heap overflow vulnerability in the code responsible for parsing VBA project files, specifically in the 'get_unicode_name()' function of 'libclamav/vba_extract.c', when a specific 'name' buffer is passed to it. Using a specially crafted VBA project file embedded in an OLE2 Office document, a remote attacker can trigger this vulnerability and execute arbitrary code on the remote host with the privileges of the 'clamd' process.

Solution

Upgrade to version 0.94.1 or later.

See Also

http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog (look for bb#1239)

http://archives.neohapsis.com/archives/bugtraq/2008-11/0071.html

Plugin Details

Severity: High

ID: 4744

Family: Web Clients

Published: 2008/11/10

Modified: 2016/01/15

Dependencies: 1735, 8314

Nessus ID: 34729

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSSv3

Base Score: 7.3

Temporal Score: 6.4

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:U/RL:O/RC:C

Reference Information

CVE: CVE-2008-5050

BID: 32207