发布时间 :1997-02-01 00:00:00
修订时间 :2018-05-02 21:29:04

[原文]IRIX startmidi program allows local users to modify arbitrary files via a symlink attack.

[CNNVD]IRIX startmidi程序漏洞(CNNVD-199702-004)

        IRIX startmidi程序存在漏洞。本地用户可以通过符号链接修改任意文件。

- CVSS (基础分值)

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

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

cpe:/o:sgi:irix:6.0SGI IRIX 6.0
cpe:/o:sgi:irix:6.0.1SGI IRIX 6.0.1
cpe:/o:sgi:irix:6.1SGI IRIX 6.1
cpe:/o:sgi:irix:6.2SGI IRIX 6.2
cpe:/o:sgi:irix:6.3SGI IRIX 6.3
cpe:/o:sgi:irix:6.4SGI IRIX 6.4

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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  SGI  19980301-01-PX
(UNKNOWN)  XF  irix-startmidi-file-creation(1634)

- 漏洞信息

IRIX startmidi程序漏洞
高危 其他
1997-02-01 00:00:00 2005-05-02 00:00:00
        IRIX startmidi程序存在漏洞。本地用户可以通过符号链接修改任意文件。

- 公告与补丁

        A suitable short term solution is to remove the setuid bit from startmidi:
        chmod -s /usr/sbin/startmidi
        Patches are available from SGI at
        IRIX 5.3: 2563
        IRIX 6.2: 2564
        IRIX 6.3: 2565
        IRIX 6.4: 2291

- 漏洞信息 (19355)

SGI IRIX <= 6.4 startmidi Vulnerabilty (EDBID:19355)
irix local
1997-02-09 Verified
0 David Hedley
N/A [点击下载]

A vulnerability exists in the startmidi program from Silicon Graphics. This utility is included with Irix versions 5.x and 6.x with the Iris Digital Media Execution Environment. startmidi is setuid root, and creates a temporary file called /tmp/.midipid. It does not check to see if this file already exists, and is a symbolic link. As such, it can be used to create root owned files, with permissions as set by the user umask.

% umask 0
% ln -s /blardyblar /tmp/.midipid
% startmidi -d /dev/ttyd1
% ls -l /blardyblar
-rw-rw-rw- 1 root pgrad 0 Feb 9 17:46 /blardyblar
% stopmidi -d /dev/ttyd1

- 漏洞信息

IRIX startmidi Symlink Arbitrary File Modification
Local Access Required Race Condition
Loss of Integrity
Exploit Public

- 漏洞描述

IRIX contains a flaw that may allow a malicious local user to create arbitrary files on the system. The issue is due to the startmidi program creating temporary files insecurely. It is possible for a user to use a symlink style attack to create arbitrary files with world writable permissions, resulting in a loss of integrity.

- 时间线

1997-02-09 Unknow
1997-02-09 Unknow

- 解决方案

Upgrade to version 6.5 or higher, as it has been reported to fix this vulnerability. In addition, Silicon Graphics, Inc. has released a patch for some older versions. It is also possible to correct the flaw by implementing the following workaround: change the permissions on the vulnerable programs. On All IRIX Releases # /bin/chmod 500 /usr/sbin/datman # /bin/chmod 500 /usr/sbin/Confidence/cdrom On IRIX 5.3 Only # /bin/chmod 500 /usr/sbin/startmidi On IRIX 5.3 and IRIX 6.2 # /bin/chmod 500 /usr/bin/X11/cdplayer On IRIX 6.3 and IRIX 6.4 # /bin/chmod 500 /usr/sbin/datplayer # /bin/chmod 500 /usr/bin/X11/cdheadphone

- 相关参考

- 漏洞作者