CVE-2024-20506
ClamAV ClamD Symlink File Corruption Vulnerability
Description
A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files. The vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart.
INFO
Published Date :
Sept. 4, 2024, 10:15 p.m.
Last Modified :
Sept. 12, 2024, 5:26 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
4.2
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-20506
.
URL | Resource |
---|---|
https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html | Release Notes |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-20506
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-20506
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 12, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H Changed Reference Type https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html No Types Assigned https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html Release Notes Added CWE NIST CWE-754 Added CPE Configuration OR *cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* versions up to (excluding) 0.103.12 *cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* versions from (including) 0.104.0 up to (excluding) 1.0.7 *cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* versions from (including) 1.2.0 up to (excluding) 1.3.2 *cpe:2.3:a:clamav:clamav:1.4.0:*:*:*:*:*:*:* -
CVE Received by [email protected]
Sep. 04, 2024
Action Type Old Value New Value Added Description A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files. The vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart. Added Reference Cisco Systems, Inc. https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html [No types assigned] Added CVSS V3.1 Cisco Systems, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-20506
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-20506
weaknesses.