ClamAV up to 0.94.0 (libclamav/vba_extract.c get_unicode_name memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability was found in ClamAV up to 0.94.0 and classified as problematic. The impacted element is the function get_unicode_name in the library (libclamav/vba_extract.c. Executing a manipulation can lead to memory corruption. This vulnerability appears as CVE-2008-5050. The attack may be performed from remote. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in ClamAV up to 0.94.0 (Anti-Malware Software). It has been declared as critical. This vulnerability affects the function get_unicode_name in the library (libclamav/vba_extract.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Off-by-one error in the get_unicode_name function (libclamav/vba_extract.c) in Clam Anti-Virus (ClamAV) before 0.94.1 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted VBA project file, which triggers a heap-based buffer overflow.

The weakness was presented 11/14/2008 by Moritz Jodeit (Website). The advisory is shared for download at lists.grok.org.uk. This vulnerability was named CVE-2008-5050 since 11/12/2008. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 34729 (ClamAV < 0.94.1 get_unicode_name() Off-by-One Buffer Overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gain a shell remotely and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 116215 (Apple Mac OS X Security Update 2009-001 Not Installed (APPLE-SA-2009-02-12)).

Upgrading to version 0.94.1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at sourceforge.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (46462), Tenable (34729), SecurityFocus (BID 32207†), OSVDB (49832†) and Secunia (SA33317†). See VDB-3872, VDB-38543, VDB-42789 and VDB-42109 for similar entries. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.4

VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 34729
Nessus Name: ClamAV < 0.94.1 get_unicode_name() Off-by-One Buffer Overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 62842
OpenVAS Name: Debian Security Advisory DSA 1680-1 (clamav)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: ClamAV 0.94.1
Patch: sourceforge.net

Timelineinfo

11/09/2008 🔍
11/09/2008 +0 days 🔍
11/10/2008 +1 days 🔍
11/10/2008 +0 days 🔍
11/10/2008 +0 days 🔍
11/12/2008 +1 days 🔍
11/12/2008 +0 days 🔍
11/14/2008 +2 days 🔍
11/17/2008 +3 days 🔍
11/18/2008 +1 days 🔍
12/04/2008 +16 days 🔍
12/24/2008 +20 days 🔍
03/16/2021 +4465 days 🔍

Sourcesinfo

Advisory: lists.grok.org.uk
Researcher: Moritz Jodeit
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-5050 (🔍)
GCVE (CVE): GCVE-0-2008-5050
GCVE (VulDB): GCVE-100-3868

OVAL: 🔍

X-Force: 46462 - Clam AntiVirus get_unicode_name() function buffer overflow, High Risk
SecurityFocus: 32207 - ClamAV 'get_unicode_name()' Off-By-One Heap Based Buffer Overflow Vulnerability
Secunia: 33317 - Gentoo update for clamav, Moderately Critical
OSVDB: 49832 - ClamAV libclamav/vba_extract.c get_unicode_name() Function Off-by-one Overflow
SecurityTracker: 1021159 - Clam AntiVirus Buffer Overflow in get_unicode_name() Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 20013 - ClamAV < 0.94.1 Remote DoS and Code Execution via a Crafted VBA Project File, Medium
Vupen: ADV-2008-3085

See also: 🔍

Entryinfo

Created: 11/18/2008 19:06
Updated: 03/16/2021 20:26
Changes: 11/18/2008 19:06 (89), 05/10/2019 18:16 (14), 03/16/2021 20:26 (2)
Complete: 🔍
Cache ID: 216:1E0:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!