This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy (update in May 2018) >

Security Advisory - MaxAge LSA Vulnerability in OSPF Protocol of Some Huawei Products

  • SA No:huawei-sa-20170720-01-ospf
  • Initial Release Date: 2017-07-20
  • Last Release Date: 2018-12-20

Some Huawei products have a MaxAge LSA vulnerability due to improper OSPF implementation. When the device receives special LSA packets, the LS (Link Status) age would be set to MaxAge, 3600 seconds. An attacker can exploit this vulnerability to poison the route table and launch a DoS attack. (Vulnerability ID: HWPSIRT-2017-06059)

This vulnerability has been assigned a CVE ID: CVE-2017-8147.
Huawei has released software updates to fix this vulnerability. This advisory is available at the following link:
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20170720-01-ospf-en

Product Name

Affected Version

Resolved Product and Version

AC6005

V200R006C10SPC200

Upgrade to V200R006C20

AC6605

V200R006C10SPC200

Upgrade to V200R006C20

AR1200

V200R005C10CP0582T

Upgrade to V200R007C00SPCb00

V200R005C10HP0581T

V200R005C20SPC026T

AR200

V200R005C20SPC026T

Upgrade to V200R007C00SPCb00

AR3200

V200R005C20SPC026T

Upgrade to V200R007C00SPCb00

CloudEngine 12800

V100R003C00

Upgrade to V200R002C50

V100R005C00

V100R005C10

V100R006C00

V200R001C00

CloudEngine 5800

V100R003C00

Upgrade to V200R002C50

V100R005C00

V100R005C10

V100R006C00

V200R001C00

CloudEngine 6800

V100R003C00

Upgrade to V200R002C50

V100R005C00

V100R005C10

V100R006C00

V200R001C00

CloudEngine 7800

V100R003C00

Upgrade to V200R002C50

V100R005C00

V100R005C10

V100R006C00

V200R001C00

CloudEngine 8800

V100R006C00

Upgrade to V200R002C50

V200R001C00

E600

V200R008C00

Upgrade to V200R009C00

NE20E-S

V800R005C01SPC100

Upgrade to V800R009C10SPC200

V800R005C01SPC200

V800R006C00SPC300

V800R007C00SPC200

V800R007C10SPC100

V800R008C10SPC300

V800R008C10SPC500

S12700

V200R005C00

Upgrade to V200R009C00

V200R006C00

V200R007C00

V200R008C00

S1700

V100R006C00

Upgrade to V200R009C00

V100R007C00

V200R006C00

S2300

V100R005C00

Upgrade to V200R009C00

V100R006C00

V100R006C03

V100R006C05

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R005C01

V200R005C02

V200R005C03

V200R006C00

V200R007C00

V200R008C00

S2700

V100R005C00

Upgrade to V200R009C00

V100R006C00

V100R006C03

V100R006C05

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R005C01

V200R005C02

V200R005C03

V200R006C00

V200R007C00

V200R008C00

S5300

V100R005C00

Upgrade to V200R009C00

V100R006C00

V100R006C01

V200R001C00

V200R001C01

V200R002C00

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R006C00

V200R007C00

V200R008C00

S5700

V100R005C00

Upgrade to V200R009C00

V100R006C00

V100R006C01

V200R001C00

V200R001C01

V200R002C00

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R006C00

V200R007C00

V200R008C00

S6300

V100R006C00

Upgrade to V200R009C00

V200R001C00

V200R001C01

V200R002C00

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R008C00

S6700

V100R006C00

Upgrade to V200R009C00

V200R001C00

V200R001C01

V200R002C00

V200R003C00

V200R003C02

V200R003C10

V200R005C00

V200R006C00

V200R007C00

V200R008C00

S7700

V100R003C00

Upgrade to V200R009C00

V100R006C00

V200R001C00

V200R001C01

V200R002C00

V200R003C00

V200R005C00

V200R006C00

V200R007C00

V200R008C00

S9300

V100R001C00

Upgrade to V200R009C00

V100R002C00

V100R003C00

V100R006C00

V200R001C00

V200R002C00

V200R003C00

V200R005C00

V200R006C00

V200R007C00

V200R008C00

V200R008C10

S9700

V200R001C00

Upgrade to V200R009C00

V200R002C00

V200R003C00

V200R005C00

V200R006C00

V200R007C00

V200R008C00

Secospace USG6600

V500R001C00

Upgrade to V500R001C60SPC300

V500R001C20

V500R001C30



An attacker can exploit this vulnerability to poison the route table and launch a DoS attack.
The vulnerability classification has been performed by using the CVSSv3 scoring system (http://www.first.org/cvss/specification-document).
Base Score: 8.6 (AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H)
Temporal Score: 8.0 (E:F/RL:O/RC:C)
This vulnerability can be exploited only when the following conditions are present:
The attacker accesses to the victim's network.
Vulnerability details:
When the device receives special LSA packets, the LS age would be set to MaxAge, 3600 seconds. An attacker can exploit this vulnerability to poison the route table and launch a DoS attack.

Users can run the following commands in the interface view to enable the device to verify OSPF packets, so as to eliminate the security risks of this vulnerability:
ospf authentication-mode {md5 | hmac-md5 | hmac-sha256}
ospf authentication-mode keychain
Alternatively, run the following commands in the ospf-area view:
authentication-mode {md5 | hmac-md5 | hmac-sha256}
authentication-mode keychain
For details on how to use the specific commands, please refer to the product configuration guide.


Customers should contact Huawei TAC (Huawei Technical Assistance Center) to request the upgrades. For TAC contact information, please refer to Huawei worldwide website at http://www.huawei.com/en/psirt/report-vulnerabilities.

This vulnerability was disclosed by Adi Sosnovich, Orna Grumberg and Gabi Nakibly.
2018-12-20 V1.4 UPDATED Updated the "Software Versions and Fixes" section;
2017-11-22 V1.3 UPDATED Updated the "Software Versions and Fixes" section; Updated the information in "Temporary Fixes";
2017-11-14 V1.2 UPDATED Assigned a CVE ID(CVE-2017-8147) to the vulnerability; Updated the "Software Versions and Fixes" section;
2017-07-26 V1.1 UPDATED Updated the "Software Versions and Fixes" section;
2017-07-20 V1.0 INITIAL

Huawei adheres to protecting the ultimate interests of users with best efforts and the principle of responsible disclosure and deal with product security issues through our response mechanism.

To enjoy Huawei PSIRT services and obtain Huawei product vulnerability information, please visit http://www.huawei.com/en/psirt.

To report a security vulnerability in Huawei products and solutions, please send it to PSIRT@huawei.com. For details, please visit http://www.huawei.com/en/psirt/report-vulnerabilities.

This document is provided on an "AS IS" basis and does not imply any kind of guarantee or warranty, either express or implied, including the warranties of merchantability or fitness for a particular purpose. In no event shall Huawei or any of its directly or indirectly controlled subsidiaries or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. Your use of the document, by whatsoever means, will be totally at your own risk. Huawei is entitled to amend or update this document from time to time.