search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Huawei HG532 routers contain a path traversal vulnerability

Vulnerability Note VU#438928

Original Release Date: 2015-11-06 | Last Revised: 2015-11-09

Overview

Huawei HG532 routers, including the HG532e, n, s, and possibly other models, are vulnerable to arbitrary file access through path traversal.

Description

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - CVE-2015-7254

In vulnerable Huawei router models, the /icon/ path of requests to Internet-facing TCP port 37215 can be manipulated to gain access to arbitrary files. For instance, a remote, unauthenticated attacker could read the inittab file by directly requesting http://<target_IP>:37215/icon/../../../etc/inittab.

Impact

A LAN-based attacker can access arbitrary files on vulnerable devices. Note that in some configurations, an external attacker may be able to leverage this vulnerability.

Solution

Apply an update

The vendor is in the process of releasing firmware updates to carriers to address this vulnerability. Users are encouraged to contact their carrier to obtain the latest release, but should consider the following workaround when a patch is unavailable.

Restrict access

As a general good security practice, only allow connections from trusted hosts and networks.

Vendor Information

438928
 

Huawei Technologies Affected

Notified:  September 03, 2015 Updated: November 09, 2015

Statement Date:   November 09, 2015

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

Addendum

Huawei HG532e, n, s, and possibly other models are affected.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base 3.3 AV:A/AC:L/Au:N/C:P/I:N/A:N
Temporal 2.7 E:F/RL:OF/RC:C
Environmental 2.0 CDP:N/TD:M/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Thanks to Roberto Paleari and Aristide Fattori for reporting this vulnerability.

This document was written by Joel Land.

Other Information

CVE IDs: CVE-2015-7254
Date Public: 2015-11-06
Date First Published: 2015-11-06
Date Last Updated: 2015-11-09 14:20 UTC
Document Revision: 20

Sponsored by CISA.