What is your e-mail address?

My e-mail address is:

Do you have a password?

Forgot your password? Click here
close

GCN Tech Blog

By GCN Staff

Blog archive

SNMP not bedeviled after all

Last week, we reported of a vulnerability in network equipment that used version 3 of the Simple Network Management Protocol. Perhaps due to our haziness in describing the vulnerability, unsuspecting readers could assume that the fault lied with SNMP itself.

Not true, according to security architect Uri Blumenthal, who sent an e-mail pointing out the possible misunderstanding. Blumenthal co-authored the Internet Society Request For Comments ("SNMPv3 User-based Security Model," RFC 3414) on ensuring message-level security of SNMP.

The vulnerability lies not in SNMP, but rather in poorly-coded implementations of SNMP, he said. To quote Blumenthal's e-mail:


The cause of this vulnerability seems to be a bug in the implementation rather than in the protocol. For the protocols involved, RFC 3414 defines authentication algorithms and procedures, for SNMPv3, and RFC 2104 defines the HMAC [keyed-hash message authentication code] algorithm itself.


RFC 3414 on page 52 clearly specifies that the length of the authenticator tag is 12 octets (96 bits). Probably the vulnerable implementations instead of verifying the length of the received MAC and/or comparing that length with that of the computed one ' they just took the length of the received MAC as correct, and compared that many bytes (e.g. 1) with the computed value.


In other words, if the implementation does not compare its own generated HMAC with what is received (rather than just comparing the number of bytes in both), then the implementation could be circumnavigated.

So again, if you use version 3 of SNMP, check your vendor for updates.

Posted by Joab Jackson on Jun 20, 2008 at 2:33 PM


Reader Comments

Please post your comments here. Comments are moderated, so they may not appear immediately after submitting. We will not post comments that we consider abusive or off-topic.

Your Name:(optional)
Your Email:(optional)
Your Location:(optional)
Comment:
Please type the letters/numbers you see above
GCN Awards 2012

GCN eNewsletters

Editorial Webcasts

  • Cloud Computing: Ushering in the Next Wave of Data Center Consolidation Register Now

    In this webcast, a government IT expert will explore the top considerations, operational requirements and policy challenges inherent to integrating new and legacy applications in the cloud. You will explore the pros and cons of adopting a public vs. private cloud model based on your specific security and operational requirements, as well as how you can fully leverage your cloud investment to achieve efficiency, collaboration and transparency needs. Read more