search menu icon-carat-right cmu-wordmark

CERT Coordination Center

HP/H3C and Huawei networking equipment h3c-user snmp vulnerability

Vulnerability Note VU#225404

Original Release Date: 2012-10-24 | Last Revised: 2012-10-26

Overview

HP/H3C and Huawei networking equipment contains a vulnerability which could allow an attacker to access administrative functions of the device using systems network management protocol (SNMP) requests.

Description

According to the researcher's report.:

"HP/H3C and Huawei networking equipment suffers from a serious weakness in regards to their handling of Systems Network Management Protocol (SNMP) requests for protected h3c-user.mib and hh3c-user.mib objects.

Details
Huawei/H3C have two OIDs, 'old' and 'new':

old: 1.3.6.1.4.1.2011.10
new: 1.3.6.1.4.1.25506

Most devices support both formats.

The MIBs h3c-user.mib and hh3c-user.mib, for the purpose of this document, will be referred to as (h)h3c-user.mib. This MIB defines the internal table and objects to "Manage configuration and Monitor running state for userlog feature."

This means there are some cool objects with data in this MIB penetration testers or malicious actors would want to get their dirty little hands on. Most objects are only accessible with the read/write community string.

In the revision history of (h)h3c-user.mib, version 2.0 modified the MAX-ACCESS from read-only to read-create the following objects within the (h)h3cUserInfoEntry sequence:

(h)h3cUserName
(h)h3cUserPassword
(h)h3cAuthMode
(h)h3cUserLevel

The purpose of these objects are to provide the locally configured users to those with a valid SNMP community. After the change only those with the read-write community string should have access, however this was not the case and the code still retained the earlier access of read-only.

So if you have the SNMP public community string then you have the ability to view these entries."


Additional information can be found in the researcher's report

Impact

A remote unauthenticated attacker can access administrative functions of the device using systems network management protocol (SNMP) requests.

Solution

Update

HP: Customers are advised to check HP's SSRT100962 support document for instructions.

Huawei Security Advisory states: "On Oct. 19, Huawei PSIRT noticed the media report titled “Demo of "serious" networking vulnerabilities cancelled at HP's request-Saturday's Toorcon talk was to discuss risks posed by gear from H3C and Huawei” . Huawei PSIRT responded immediately and proactively coordinate Kurt Grutzmacher, US-CERT, CERT/CC and CNCERT to handle the issue. On Oct. 24, Huawei PSIRT finally acquired the technical details of the vulnerabilities from the public channel of US-CERT and launched shortly the vulnerability analysis and investigation to develop the mitigation measures. The first version of “SNMP vulnerability on Huawei multiple products” SA was released on Oct. 25. The investigation is still ongoing. Huawei PSIRT will keep updating the SA. Please refer to the above link."

According to the researcher's report:

"By itself this is already bad but most users who do any of the following may already be protected:

Use complex SNMP community strings or disable SNMPv1
Have disabled the mib entries for (h)h3c-user
Block SNMP using access controls or firewalls
Do not define local users, use RADIUS or TACACS+

More specific routines can be found in the vendor's release."

Vendor Information

225404
 

Hewlett-Packard Company Affected

Notified:  August 06, 2012 Updated: October 24, 2012

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References

Huawei Technologies Affected

Updated:  October 26, 2012

Status

Affected

Vendor Statement

On Oct. 19, Huawei PSIRT noticed the media report titled �mo of "serious" networking vulnerabilities cancelled at HP's request-Saturday's Toorcon talk was to discuss risks posed by gear from H3C and Huawei” . Huawei PSIRT responded immediately and proactively coordinate Kurt Grutzmacher, US-CERT, CERT/CC and CNCERT to handle the issue. On Oct. 24, Huawei PSIRT finally acquired the technical details of the vulnerabilities from the public channel of US-CERT and launched shortly the vulnerability analysis and investigation to develop the mitigation measures. The first version of “SNMP vulnerability on Huawei multiple products” SA was released on Oct. 25. The investigation is still ongoing. Huawei PSIRT will keep updating the SA. Please refer to the above link.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References

3com Inc Unknown

Notified:  August 06, 2012 Updated: August 06, 2012

Status

Unknown

Vendor Statement

We have not received a statement from the vendor.

Vendor References


    CVSS Metrics

    Group Score Vector
    Base 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C
    Temporal 7.7 E:F/RL:OF/RC:C
    Environmental 7.7 CDP:MH/TD:H/CR:ND/IR:ND/AR:ND

    References

    Acknowledgements

    Thanks to Kurt Grutzmacher for reporting this vulnerability.

    This document was written by Michael Orlando.

    Other Information

    CVE IDs: CVE-2012-3268
    Date Public: 2012-10-23
    Date First Published: 2012-10-24
    Date Last Updated: 2012-10-26 12:39 UTC
    Document Revision: 16

    Sponsored by CISA.