CVE-2005-1270
CVSS2.1
发布时间 :2005-04-26 00:00:00
修订时间 :2008-09-05 16:48:42
NMCOS    

[原文]The (1) check_update.sh and (2) rkhunter script in Rootkit Hunter before 1.2.3-r1 create temporary files with predictable file names, which allows local users to overwrite arbitrary files via a symlink attack.


[CNNVD]Rootkit Hunter本地不安全临时文件创建漏洞(CNNVD-200504-102)

        中文名叫"Rootkit猎手", 可以发现几十个已知的rootkits和一些嗅探器和后门程序. 它通过执行一系列的测试脚本来确认你的机器是否已经感染rootkits. 比如检查rootkits使用的基本文件, 可执行二进制文件的错误文件权限, 检测内核模块等等.
        Rootkit Hunter的1.2.3-r1之前版本内的(1)check_update.sh和(2)rkhunter脚本以可预测的文件名来创建临时文件,本地用户可以通过一个symlink攻击来重写任意文件。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:gentoo:rootkit_hunter:1.2.1Gentoo Rootkit Hunter 1.2.1
cpe:/a:gentoo:rootkit_hunter:1.2.3Gentoo Rootkit Hunter 1.2.3
cpe:/a:gentoo:rootkit_hunter:1.2.2Gentoo Rootkit Hunter 1.2.2
cpe:/a:gentoo:rootkit_hunter:1.2Gentoo Rootkit Hunter 1.2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/13399
(PATCH)  BID  13399
http://www.gentoo.org/security/en/glsa/glsa-200504-25.xml
(PATCH)  GENTOO  GLSA-200504-25
http://xforce.iss.net/xforce/xfdb/20279
(UNKNOWN)  XF  rootkit-hunter-checkupdate-symlink(20279)
http://www.osvdb.org/15861
(UNKNOWN)  OSVDB  15861
http://secunia.com/advisories/15127
(UNKNOWN)  SECUNIA  15127

- 漏洞信息

Rootkit Hunter本地不安全临时文件创建漏洞
低危 设计错误
2005-04-26 00:00:00 2006-01-03 00:00:00
本地  
        中文名叫"Rootkit猎手", 可以发现几十个已知的rootkits和一些嗅探器和后门程序. 它通过执行一系列的测试脚本来确认你的机器是否已经感染rootkits. 比如检查rootkits使用的基本文件, 可执行二进制文件的错误文件权限, 检测内核模块等等.
        Rootkit Hunter的1.2.3-r1之前版本内的(1)check_update.sh和(2)rkhunter脚本以可预测的文件名来创建临时文件,本地用户可以通过一个symlink攻击来重写任意文件。

- 公告与补丁

        暂无数据

- 漏洞信息

15858
Rootkit Hunter check_update.sh Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Loss of Integrity
Exploit Unknown

- 漏洞描述

Rootkit.nl Rootkit Hunter contains a flaw that may allow a malicious local user to overwrite or create arbitrary files on the system. The issue is due to the check_update.sh creating temporary files insecurely. It is possible for a user to use a symlink style attack to manipulate arbitrary files, resulting in a loss of integrity.

- 时间线

2005-04-26 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.2.5, 1.2.3-r1 (Gentoo) or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

Rootkit Hunter Local Insecure Temporary File Creation Vulnerability
Design Error 13399
No Yes
2005-04-26 12:00:00 2009-07-12 02:06:00
Sune Kloppenborg Jeppesen and Tavis Ormandy are credited with the discovery of this issue.

- 受影响的程序版本

Rootkit.nl Rootkit Hunter 1.2.3
Rootkit.nl Rootkit Hunter 1.2.2
Rootkit.nl Rootkit Hunter 1.2.1
Rootkit.nl Rootkit Hunter 1.2

- 漏洞讨论

A local insecure file creation vulnerability affects Rootkit Hunter. This issue is due to a design error that causes a file to be insecurely opened or created and subsequently written to.

An attacker may leverage this issue to corrupt arbitrary files with the privileges of an unsuspecting user that activates the affected application.

- 漏洞利用

No exploit is required to leverage this issue.

- 解决方案

Gentoo Linux has released an advisory (GLSA 200504-25) dealing with this issue. Gentoo advises that all users upgrade their packages by executing the following commands with superuser privileges:

emerge --sync
emerge --ask --oneshot --verbose ">=app-forensics/rkhunter-1.2.3-r1"

For more information, please see the referenced Gentoo Linux advisory.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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