发布时间 :2001-09-04 00:00:00
修订时间 :2008-09-05 16:25:28

[原文]rmuser utility in FreeBSD 4.2 and 4.3 creates a copy of the master.passwd file with world-readable permissions while updating the original file, which could allow local users to gain privileges by reading the copied file while rmuser is running, obtain the password hashes, and crack the passwords.

[CNNVD]FreeBSD rmuser实用工具漏洞(CNNVD-200109-008)

        FreeBSD 4.2和4.3 版本的rmuser实用工具更新原始文件时创建全域可读许可的master.passwd文件的副本。本地用户在运行rmuser时通过读取副本文件提升特权获得密码散列和破解密码。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/o:freebsd:freebsd:4.2FreeBSD 4.2
cpe:/o:freebsd:freebsd:4.3FreeBSD 4.3

- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  XF  rmuser-insecure-password-file(7086)

- 漏洞信息

FreeBSD rmuser实用工具漏洞
高危 未知
2001-09-04 00:00:00 2005-05-02 00:00:00
        FreeBSD 4.2和4.3 版本的rmuser实用工具更新原始文件时创建全域可读许可的master.passwd文件的副本。本地用户在运行rmuser时通过读取副本文件提升特权获得密码散列和破解密码。

- 公告与补丁


- 漏洞信息

FreeBSD rmuser /etc/master.passwd Local Password Hash Disclosure
Local Access Required Information Disclosure, Race Condition
Loss of Confidentiality Patch / RCS
Exploit Public Vendor Verified

- 漏洞描述

FreeBSD contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered when a malicious user can view the master.passwd file while root is running rmuser, which will disclose password hashes resulting in a loss of confidentiality.

- 时间线

2001-09-04 Unknow
2001-09-04 Unknow

- 解决方案

Upgrade to version 4.3-STABLE or the RELENG_4_3 security branch, dated after the respective correction dates, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): use the pw(8) utility to remove users instead of rmuser. Also, FreeBSD has released a patch.

- 相关参考

- 漏洞作者