{"vuid":"VU#648304","idnumber":"648304","name":"Sun Solaris DMI to SNMP mapper daemon snmpXdmid contains buffer overflow","keywords":["Sun","Solaris","DMI","SNMP","snmpXdmid","RPC","1000249","DmiComponentAdded"],"overview":"There is a buffer overflow in the snmpXdmi daemon, which may allow intruders to gain root privileges on systems running the vulnerable daemon.","clean_desc":"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: http://www.itsx.com/snmpXdmid.html","impact":"A remote intruder who is able to send packets to the snmpXdmi daemon may be able to gain root privileges on that system.","resolution":"Apply a Patch\nApply a patch from Sun when it is available.","workarounds":"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\n   100249 1 udp 32785 \n   100249 1 tcp 32786 Note that site-specific port binding will vary.","sysaffected":"","thanks":"Thanks to Job de Haas (job@itsx.com) of ITSX BV Amsterdam, The Netherlands (\nhttp://www.itsx.com\n) for reporting this vulnerability to the CERT/CC.","author":"This document was written by Cory F. Cohen.","public":["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"],"cveids":["CVE-2001-0236"],"certadvisory":"CA-2001-05","uscerttechnicalalert":null,"datecreated":"2001-03-02T19:28:56Z","publicdate":"2001-03-15T00:00:00Z","datefirstpublished":"2001-03-26T14:49:02Z","dateupdated":"2001-09-14T15:39:29Z","revision":21,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"10","cam_population":"10","cam_impact":"20","cam_easeofexploitation":"10","cam_attackeraccessrequired":"15","cam_scorecurrent":"14.0625","cam_scorecurrentwidelyknown":"16.875","cam_scorecurrentwidelyknownexploited":"28.125","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":14.0625,"vulnote":null}