Vulnerability Note VU#648304

Sun Solaris DMI to SNMP mapper daemon snmpXdmid contains buffer overflow

Original Release date: 26 Mar 2001 | Last revised: 14 Sep 2001

Overview

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

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:

Impact

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

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 (Learn More)

VendorStatusDate NotifiedDate Updated
SunAffected08 Mar 200114 Sep 2001
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

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

  • CVE IDs: CAN-2001-0236
  • CERT Advisory: CA-2001-05
  • Date Public: 15 Mar 2001
  • Date First Published: 26 Mar 2001
  • Date Last Updated: 14 Sep 2001
  • Severity Metric: 14.06
  • Document Revision: 21

Feedback

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