Title: Solaris rmmount Setuid Files Vulnerability
Severity: MODERATE
Description:
The rmmount utility fails to enforce suid mount flags on removable media allowing anyone with access to a console with a floppy or CD-ROM device to obtain root privileges.
The rmmount utility is a removable media mounter that is executed by the volume manager whenever a CD-ROM or floppy is inserted. The man page for rmmount states that "file systems mounted by rmmount are always mounted with the nosuid flag set, thereby disabling set-uid programs and access to block or character devices in that file system."
In fact this is wrong and all a user with access to the console and a floppy or CD-ROM device has to do to obtain root access is insert a floppy or CD-ROM with a suid root shell.
It appears this vulnerability was fixed in patches to 2.5 and 2.5.1, but reintroduced in Solaris 7.
Affected Products:
- Sun Solaris 2.5.0
- Sun Solaris 2.5.1
- Sun Solaris 7.0
- Sun Solaris 7.0_x86
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.