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#648304

Sun Solaris DMI to SNMP mapper daemon snmpXdmid contains buffer overflow

Overview

There is a buffer overflow in the snmpXdmi daemon, which may allow intruders to gain root privileges on systems running the vulnerable daemon.

I. Description

The SNMP-to-DMI mapper daemon (snmpXdmi) translates Simple Network Management Protocol (SNMP) events to Desktop Management Interface (DMI) indications and vice-versa. Both protocols serve a similar purpose, and the translation daemon allows users to manage devices using either protocol. The snmpXdmi daemon registers itself with the snmpdx and dmid daemons, translating and forwarding requests from one daemon to the other. The snmpXdmi daemon, which is shipped with Solaris versions 2.6, 7 and 8, is enabled by default.

The snmpXdmi daemon contains a buffer overflow in the code for translating DMI indications to SNMP events. This buffer overflow is exploitable by remote intruders to gain root privileges.

More information about this vulnerability can be found in the advisory published by Job de Haas of ITSX:

II. Impact

A remote intruder who is able to send packets to the snmpXdmi daemon may be able to gain root privileges on that system.

III. Solution

Apply a Patch

Apply a patch from Sun when it is available.

Disable snmpXdmi

Sites that do not use both SNMP and DMI should disable the translation daemon, thus eliminating the vulnerability.

Restrict Access to snmpXdmi and other RPC services

Sites that require the functionality of snmpXdmi or other RPC services should restrict access through filtering. Local IP filtering rules that prevent hosts other than localhost from connecting to the daemon may mitigate the risks associated with running the daemon. Sun RPC services are advertised on port 111/{tcp,udp}. The snmpXdmid RPC service id is 100249; use 'rpcinfo -p' to list local site port bindings:

# rpcinfo -p | grep 100249
  100249 1 udp 32785
  100249 1 tcp 32786


Note that site-specific port binding will vary.

Systems Affected

VendorStatusDate Updated
SunVulnerable14-Sep-2001

References


http://www.itsx.com/snmpXdmid.html
http://www.securityfocus.com/bid/2417
http://www.securityfocus.com/archive/1/168936
http://www.sun.com/software/entagents/download/
http://www.sun.com/software/entagents/docs/UGhtml/snmp_with_dmi.doc.html
http://www.dmtf.org/spec/spec.html
http://www.dmtf.org/spec/snmp.html
http://www.ciac.org/ciac/bulletins/l-065.shtml

Credit

Thanks to Job de Haas (job@itsx.com) of ITSX BV Amsterdam, The Netherlands (http://www.itsx.com) for reporting this vulnerability to the CERT/CC.

This document was written by Cory F. Cohen.

Other Information

Date Public03/15/2001
Date First Published03/26/2001 10:49:01 AM
Date Last Updated09/14/2001
CERT AdvisoryCA-2001-05
CVE NameCAN-2001-0236
US-CERT Technical Alerts 
Metric14.06
Document Revision21

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

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