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: 11/10/2008

Updated: 3/6/2019

Nessus ID: 34729

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Reference Information

CVE: CVE-2008-5050

BID: 32207