ClamAV up to 0.87 tnef.c tnef_attachment memory allocation

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.
5.1$0-$5k0.00

A vulnerability, which was classified as problematic, has been found in ClamAV (Anti-Malware Software). This issue affects the function tnef_attachment of the file tnef.c. The manipulation with an unknown input leads to a memory allocation vulnerability. Using CWE to declare the problem leads to CWE-789. The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. Impacted is availability. The summary by CVE is:

The tnef_attachment function in tnef.c for Clam AntiVirus (ClamAV) before 0.87.1 allows remote attackers to cause a denial of service (infinite loop and memory exhaustion) via a crafted value in a CAB file that causes ClamAV to repeatedly scan the same block.

The bug was discovered 10/07/2005. The weakness was shared 11/04/2005 (Website). The advisory is shared at idefense.com. The identification of this vulnerability is CVE-2005-3500. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 27 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 22753 (Debian DSA-887-1 : clamav - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks.

Upgrading to version 0.87.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 9073.

The vulnerability is also documented in the databases at X-Force (22964) and Tenable (22753). The entries 26850, 26848 and 26592 are related to this item.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory allocation
CWE: CWE-789 / CWE-400 / CWE-404
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 22753
Nessus Name: Debian DSA-887-1 : clamav - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 65509
OpenVAS Name: SLES9: Security update for clamav
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: ClamAV 0.87.1
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

10/07/2005 🔍
11/03/2005 +27 days 🔍
11/04/2005 +1 days 🔍
11/04/2005 +0 days 🔍
11/04/2005 +0 days 🔍
11/05/2005 +0 days 🔍
11/05/2005 +0 days 🔍
11/05/2005 +0 days 🔍
01/22/2008 +808 days 🔍
03/11/2015 +2605 days 🔍
07/06/2021 +2309 days 🔍

Sourcesinfo

Advisory: idefense.com
Status: Not defined
Confirmation: 🔍

CVE: CVE-2005-3500 (🔍)
X-Force: 22964
Vulnerability Center: 17437 - Clam AntiVirus Tnef.c Vulnerability Allows Remote Attackers to Cause DoS via CAB Files, Medium
SecurityFocus: 15316 - Clam Anti-Virus ClamAV TNEF File Handling Denial Of Service Vulnerability
Secunia: 17434
OSVDB: 20483 - Clam AntiVirus tnef.c tnef_attachment Function Infinite Loop DoS

See also: 🔍

Entryinfo

Created: 03/11/2015 23:39
Updated: 07/06/2021 14:28
Changes: 03/11/2015 23:39 (70), 05/10/2019 18:21 (11), 07/06/2021 14:26 (4), 07/06/2021 14:28 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!