<<< Date Index >>>     <<< Thread Index >>>

Digital Armaments Security Advisory 01.16.2006: CMU SNMP utilities snmptrad Format String Vulnerability



CMU SNMP utilities snmptrad Format String Vulnerability


Digital Armaments advisory is 01.04.2006
http://www.digitalarmaments.com/2006040164883273.html

I. Background

The package is CMU-SNMP utilities. In this package snmptrapd is an SNMP 
application that receives and logs SNMP TRAP and INFORM messages. This daemon 
by default is to listen on UDP port 162 on all IPv4 interfaces. Since 162 is a 
privileged port, snmptrapd must typically be run as root. 
For many information or detail about the software you can refer to the vendor's 
homepage:

http://www.gaertner.de/snmp/

II. Problem Description

There is a format string vulnerability in the snmptrapd server from the 
cmu-snmp package. The vulnerability persist in the snmp_input() function. An 
attacker could abuse this vulnerability from remote while sending specially 
crafted packets. Successful exploitation consist in arbitrary code execution, 
with root privileges by default.

III. Detection

This problem has been detected and tested on latest versions:
snmptrapd from cmu-snmp-linux-3.7 package
snmptrapd from cmu-snmp-linux-3.6 package

IV. Impact analysis

Successful exploitation allow an attacker to gain access to the system with the 
root privileges (by default). Exploit code is required.

V. Solution

The vendor has given no response.
First notification 12.22.2005.
Second notification 01.09.2006.
No new version will be available.

VI. Credit

Seregorn - seregon@xxxxxxxxxxxxx is credited with this discovery.

Get paid and get stocks by vulnerability submission
http://www.digitalarmaments.com/contribute.html 

VII. Legal Notices

Copyright © 2005 Digital Armaments LLC. 

Redistribution of this alert electronically is allowed. It should not be edited 
in any way. Reprint the whole is allowed, partial reprint is not permitted. For 
any other request please email customerservice@xxxxxxxxxxxxxxxxxxxx for 
permission. Disclaimer: The information in the advisory is believed to be 
accurate at the time of publishing based on currently available information. 
Use of the information constitutes acceptance for use in an AS IS condition. 
There are no warranties with regard to this information. Neither the author nor 
the publisher accepts any liability for any direct, indirect, or consequential 
loss or damage arising from use of, or reliance on, this information.