IRIX eject Vulnerability

BID:351

Info

IRIX eject Vulnerability

Bugtraq ID: 351
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: May 25 1997 12:00AM
Updated: May 25 1997 12:00AM
Credit: This bug was reported to the Bugtraq mailing list on May 25, 1997 by David Hedley <[email protected]> SGI released a security advisory on this vulnerability on November 16, 1997.
Vulnerable: SGI IRIX 6.2
SGI IRIX 6.1
SGI IRIX 6.0.1 XFS
SGI IRIX 6.0.1
SGI IRIX 6.0
Not Vulnerable: SGI IRIX 6.3

Discussion

IRIX eject Vulnerability

A vulnerability exists in the eject program shipped with Irix 6.2 from Silicon Graphics. By supplying a long argument to the eject program, it is possible to overwrite the return address on the stack, and execute arbitrary code as root. Eject is normally used to eject removeable media from the system, and as such is setuid root to allow for any user at the console to perform eject operations.

Exploit / POC

Solution / Fix

IRIX eject Vulnerability

Solution:
A suitable temporary solution is to remove the setuid bit from the executable: chmod -s /usr/sbin/eject

Patches are available for this vulnerability from http://support.sgi.com
OS Version Vulnerable? Patch #
---------- ----------- -------
IRIX 3.x unknown not avail
IRIX 4.x unknown not avail
IRIX 5.0.x yes not avail
IRIX 5.1.x yes not avail
IRIX 5.2 yes not avail
IRIX 5.3 yes 2228
IRIX 6.0.x yes not avail
IRIX 6.1 yes not avail
IRIX 6.2 yes 2177
IRIX 6.3 yes 2232
IRIX 6.4 yes 2233

References

IRIX eject Vulnerability

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