CVE-2004-1876 (CNNVD-200403-141)

MEDIUM
中文标题:
Clam Anti-Virus ClamAV本地任意命令执行漏洞
英文标题:
The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows loc...
CVSS分数: 4.6
发布时间: 2005-05-10 04:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Clam Antivirus (clamav)是一款基于UNIX的病毒扫描程序。 ClamAV在部分配置下存在安全问题,本地攻击者可以利用这个漏洞以Root权限在系统上执行任意命令。 当'clamav.conf'配置文件中包含'VirusEvent'(默认不开启),防病毒软件使用了'Dazuko'模块时,发现病毒时,在命令字符串中%v和%f会被病毒名及受感染文件名代替,但是代码没有过滤一些Shell字符如";"或",因此如果建立一个名为" ; chmod 777 etc"的文件并加入病毒,可导致以root权限执行任意命令。

英文描述:

The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows local users to execute arbitrary commands via shell metacharacters in a file name.

CWE类型:
(暂无数据)
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
clam_anti-virus clamav 0.51 - - cpe:2.3:a:clam_anti-virus:clamav:0.51:*:*:*:*:*:*:*
clam_anti-virus clamav 0.52 - - cpe:2.3:a:clam_anti-virus:clamav:0.52:*:*:*:*:*:*:*
clam_anti-virus clamav 0.53 - - cpe:2.3:a:clam_anti-virus:clamav:0.53:*:*:*:*:*:*:*
clam_anti-virus clamav 0.54 - - cpe:2.3:a:clam_anti-virus:clamav:0.54:*:*:*:*:*:*:*
clam_anti-virus clamav 0.60 - - cpe:2.3:a:clam_anti-virus:clamav:0.60:*:*:*:*:*:*:*
clam_anti-virus clamav 0.65 - - cpe:2.3:a:clam_anti-virus:clamav:0.65:*:*:*:*:*:*:*
clam_anti-virus clamav 0.67 - - cpe:2.3:a:clam_anti-virus:clamav:0.67:*:*:*:*:*:*:*
clam_anti-virus clamav 0.68 - - cpe:2.3:a:clam_anti-virus:clamav:0.68:*:*:*:*:*:*:*
clam_anti-virus clamav 0.68.1 - - cpe:2.3:a:clam_anti-virus:clamav:0.68.1:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
11253 third-party-advisory
cve.org
访问
GLSA-200405-03 vendor-advisory
cve.org
访问
clamantivirus-virusevent-gain-privileges(15692) vdb-entry
cve.org
访问
20040330 clamd - NEVER use "%f" in your "VirusEvent" mailing-list
cve.org
访问
10007 vdb-entry
cve.org
访问
CVSS评分详情
4.6
MEDIUM
CVSS向量: AV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS版本: 2.0
机密性
PARTIAL
完整性
PARTIAL
可用性
PARTIAL
时间信息
发布时间:
2005-05-10 04:00:00
修改时间:
2024-08-08 01:07:49
创建时间:
2025-11-11 15:32:23
更新时间:
2025-11-11 15:48:53
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2004-1876 2025-11-11 15:17:30 2025-11-11 07:32:23
NVD nvd_CVE-2004-1876 2025-11-11 14:50:54 2025-11-11 07:41:09
CNNVD cnnvd_CNNVD-200403-141 2025-11-11 15:08:44 2025-11-11 07:48:53
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:48:53
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200403-141; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200403-141
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:09
cvss_score: 未提取 → 4.6; cvss_vector: NOT_EXTRACTED → AV:L/AC:L/Au:N/C:P/I:P/A:P; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 9; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • cvss_score: 未提取 -> 4.6
  • cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:P/I:P/A:P
  • cvss_version: NOT_EXTRACTED -> 2.0
  • affected_products_count: 0 -> 9
  • data_sources: ['cve'] -> ['cve', 'nvd']