发布时间 :2005-05-02 00:00:00
修订时间 :2008-09-05 16:48:02

[原文]Race condition in Core Utilities (coreutils) 5.2.1, when (1) mkdir, (2) mknod, or (3) mkfifo is running with the -m switch, allows local users to modify permissions of other files.

[CNNVD]GNU Core Utilities多个工具本地竞争条件漏洞(CNNVD-200505-159)

        GNU Core Utilities 5.2.1所捆绑的mkdir、mknod、mkfifo工具受竞态条件错误的影响,可能允许攻击者管理文件的权限,进而导致其他攻击、如泄漏敏感数据、破坏数据或权限提升。

- CVSS (基础分值)

CVSS分值: 3.7 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: HIGH [漏洞利用存在特定的访问条件]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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


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


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

- 其它链接及资源
(UNKNOWN)  BID  13053

- 漏洞信息

GNU Core Utilities多个工具本地竞争条件漏洞
低危 竞争条件
2005-05-02 00:00:00 2005-10-20 00:00:00
        GNU Core Utilities 5.2.1所捆绑的mkdir、mknod、mkfifo工具受竞态条件错误的影响,可能允许攻击者管理文件的权限,进而导致其他攻击、如泄漏敏感数据、破坏数据或权限提升。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:" target="_blank"

- 漏洞信息

GNU coreutils mkdir -m Switch Arbitrary File Permission Modification
Local Access Required Race Condition
Loss of Integrity Upgrade
Exploit Unknown Uncoordinated Disclosure

- 漏洞描述

GNU coreutils contains a race condition flaw in the 'mkdir' command when running with the '-m' command line switch between the time a directory is created and specified permissions are set. It is possible for a local attacker during the time gap to replace a created directory with a hard-link to an arbitrary file, causing permissions to be set for this.

- 时间线

2005-04-06 Unknow
Unknow 2005-09-30

- 解决方案

It has been reported that this issue has been fixed. Upgrade to version 5.90, or higher, to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

GNU Core Utilities Local Race Condition Vulnerability
Race Condition Error 13053
No Yes
2005-04-07 12:00:00 2009-07-12 12:56:00
Discovery is credited to Imran Ghory <>.

- 受影响的程序版本

GNU Coreutils 5.2.1

- 漏洞讨论

It is reported that the mkdir, mknod, mkfifo utilities supplied with GNU Core Utilities 5.2.1 are affected by a race condition error that may allow an attacker to manipulate file permissions leading to various attacks.

Specifically, this issue arises if the attacker has write permissions to a directory where a user is executing mkdir, mknod, or mkfifo with the '-m' switch.

A successful attack can allow the attacker to manipulate file permissions and then carry out other attacks such as disclosing sensitive data, corruption of data and potential privilege escalation.

It is possible that this issue is similar to BID 12954 (BZip2 CHMod File Permission Modification Race Condition Weakness).

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: &lt;;.

- 解决方案

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: <>.

- 相关参考