search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Sun Solstice AdminSuite ships with insecure default configuration

Vulnerability Note VU#41870

Original Release Date: 2003-09-19 | Last Revised: 2003-09-19

Overview

The sadmind service provided on many Solaris and SunOS systems ships with an insecure default configuration that allows remote users to execute arbitrary commands with superuser (root) privileges.

Description

The Sun Microsystems Solstice AdminSuite is a graphical tool that allows Solaris and SunOS hosts to be administered by a remote host. The daemon portion of the program (sadmind) is a setuid root application that listens for requests from a remote administration client. In its default configuration, sadmind accepts requests using "AUTH_SYS" authentication, which uses plaintext authentication in a format that can be easily manipulated by an attacker. Since sadmind is designed to allow the remote execution of arbitrary commands, an attacker who is able to spoof the authentication portion of a packet can execute commands with little difficulty.

The daemon can be configured to operate securely by specifying a security level of 2, which causes sadmind to require "AUTH_DES" authentication. This capability has existed since at least April 1999, when the sadmind man page was updated for SunOS 5.9. The recommendation to use security level 2 was provided in Sun Security Bulletin #00191 and CERT Advisory CA-1999-16, so it is likely that many Solaris systems have been configured to disable this service. However, the insecure default configuration is still shipped with modern releases of Solaris, so system administrators are encouraged to review their configurations.

Impact

Affected systems allow remote users to execute arbitrary commands with the privileges of the sadmind daemon, typically superuser (root).

Solution

The CERT/CC is not aware of a permanent solution that addresses this vulnerability.

Configure sadmind to use AUTH_DES authentication

As recommended by Sun Alert 56740, users can take the following steps to enable AUTH_DES authentication:

1. Edit the "/etc/inetd.conf" file and append "-S 2" to the end of the sadmind line as follows:

100232/10 tli rpc/udp wait root /usr/sbin/sadmind sadmind -S 2

2. Tell the inetd(1M) process to reread the newly modified "/etc/inetd.conf" file by sending it a hangup signal, SIGHUP:

# /usr/bin/pkill -HUP inetd

Disable the sadmind daemon

As recommended by Sun Alert 56740, users can take the following steps to disable sadmind:

1. Edit the "/etc/inetd.conf" file and comment out the following line by adding the "#" symbol to the beginning of the line as follows:

#100232/10 tli rpc/udp wait root /usr/sbin/sadmind sadmind

2. Tell the inetd(1M) process to reread the newly modified "/etc/inetd.conf" file by sending it a hangup signal, SIGHUP:

# /usr/bin/pkill -HUP inetd

Vendor Information

41870
 

Sun Microsystems Inc. Affected

Notified:  April 03, 1999 Updated: September 19, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Sun Microsystems has published Alert Notification 56740 to document this vulnerability. For more information, please see:


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

The CERT/CC thanks Sun Microsystems for acknowledging this vulnerability.

This document was written by Jeffrey P. Lanza.

Other Information

CVE IDs: CVE-2003-0722
Severity Metric: 104.74
Date Public: 1999-04-03
Date First Published: 2003-09-19
Date Last Updated: 2003-09-19 22:01 UTC
Document Revision: 22

Sponsored by CISA.