SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#41870

Sun Solstice AdminSuite ships with insecure default configuration

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.

I. 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.

II. Impact

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

III. 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

Systems Affected

VendorStatusDate Updated
Sun Microsystems Inc.Vulnerable19-Sep-2003

References


http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F56740&zone_32=category%3Asecurity
http://docs.sun.com/db/doc/816-0211/6m6nc676b?a=view
http://www.idefense.com/advisory/09.16.03.txt
http://www.cert.org/advisories/CA-1999-16.html
http://www.kb.cert.org/vuls/id/28934
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0977
http://www.secunia.com/advisories/9742/

Credit

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

This document was written by Jeffrey P. Lanza.

Other Information

Date Public04/03/1999
Date First Published09/19/2003 04:11:34 PM
Date Last Updated09/19/2003
CERT Advisory 
CVE-ID(s)CAN-2003-0722
NVD-ID(s)CAN-2003-0722
US-CERT Technical Alerts 
Metric104.74
Document Revision21

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2003 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader