Title: IRIX 'netprint' Arbitrary Shared Library Usage Vulnerability
Severity: MODERATE
Description:
The 'netprint' utility shipped with SGI Irix systems is used to send print jobs to print spoolers on remote hosts. It is installed setuid root by default.
At the command line, 'netprint' accepts an option to specify the network type (-n). This option is argumented with a string representing the type. 'netprint' uses this string to open the correct shared library, containing standard functions for making connections and transferring data over the specified network type. These shared libraries are stored in a secure, standard directory. This it to add support for multiple network types to the Irix printing subsystem.
There is no input validation on the network-type argument. As a result, it is possible for attackers to argument '-n' with a string containing '../' character sequences. When the shared library is opened, the '../' directories are traversed and an attacker-supplied shared library placed in another directory such as '/tmp' can be used. Since 'netprint' is setuid root, malicious code in the library can be executed with superuser privileges.
In order to exploit this vulnerability, an attacker must be user 'lp'. It should be noted, however, that 'lp' was a passwordless account setup by default many earlier versions of IRIX (prior to 6.3). If this account has not been disabled, it is entirely possible for remote users to log into systems without a password as 'lp' and gain root access using this vulnerability.
Affected Products:
- SGI IRIX 5.3.0
- SGI IRIX 6.0.0
- SGI IRIX 6.0.1
- SGI IRIX 6.1.0
- SGI IRIX 6.2.0
- SGI IRIX 6.3.0
- SGI IRIX 6.4.0
- SGI IRIX 6.5.0
- SGI IRIX 6.5.1
- SGI IRIX 6.5.10
- SGI IRIX 6.5.11
- SGI IRIX 6.5.12 f
- SGI IRIX 6.5.12 m
- SGI IRIX 6.5.2
- SGI IRIX 6.5.3
- SGI IRIX 6.5.4
- SGI IRIX 6.5.5
- SGI IRIX 6.5.6
- SGI IRIX 6.5.7
- SGI IRIX 6.5.8
- SGI IRIX 6.5.9
References:
- Silicon Graphics Inc.: SGI Support
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.