ClamAV up to 0.94.0 (libclamav/vba_extract.c get_unicode_name memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.25
- 0.26
- 0.27
- 0.28
- 0.29
- 0.30
- 0.31
- 0.32
- 0.33
- 0.34
- 0.35
- 0.36
- 0.37
- 0.38
- 0.39
- 0.40
- 0.41
- 0.42
- 0.43
- 0.44
- 0.45
- 0.46
- 0.47
- 0.48
- 0.49
- 0.50
- 0.51
- 0.52
- 0.53
- 0.54
- 0.55
- 0.56
- 0.57
- 0.58
- 0.59
- 0.60
- 0.61
- 0.62
- 0.63
- 0.64
- 0.65
- 0.66
- 0.67
- 0.68
- 0.69
- 0.70
- 0.71
- 0.72
- 0.73
- 0.74
- 0.75
- 0.76
- 0.77
- 0.78
- 0.79
- 0.80
- 0.81
- 0.82
- 0.83
- 0.84
- 0.85
- 0.86
- 0.87
- 0.88
- 0.89
- 0.90
- 0.91
- 0.92
- 0.93
- 0.94.0
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: ClamAV 0.94.1
Patch: sourceforge.net
Timeline
11/09/2008 🔍11/09/2008 🔍
11/10/2008 🔍
11/10/2008 🔍
11/10/2008 🔍
11/12/2008 🔍
11/12/2008 🔍
11/14/2008 🔍
11/17/2008 🔍
11/18/2008 🔍
12/04/2008 🔍
12/24/2008 🔍
03/16/2021 🔍
Sources
Advisory: lists.grok.org.ukResearcher: 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: 🔍
Entry
Created: 11/18/2008 19:06Updated: 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.
No comments yet. Languages: en.
Please log in to comment.