CVE-2018-7933 Path traversal in HiRouter-CD20, WS5200

High 7.8 Published Updated

Attackers can overwrite arbitrary files via malicious APK plugins, leading to code execution or privilege escalation on Huawei home gateways.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-7933?

CVE-2018-7933 is a high-severity path traversal vulnerability in Huawei Technologies Co., Ltd. HiRouter-CD20, WS5200, published on 10 May 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Huawei home gateway products HiRouter-CD20 and WS5200 with the versions before HiRouter-CD20-10 1.9.6 and the versions before WS5200-10 1.9.6 have a path traversal vulnerability. Due to the lack of validation while these home gateway products install APK plugins, an attacker tricks a user into installing a malicious APK plugin, and plugin can overwrite arbitrary file of devices. Successful exploit may result in arbitrary code execution or privilege escalation.

Weakness: CWE-22

Which versions are affected by CVE-2018-7933?

It affects 2 products.

Products include Huawei Hirouter-Cd20 Firmware, Huawei Ws5200 Firmware.

How do I fix CVE-2018-7933?

No fix has been published for CVE-2018-7933 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-7933 being exploited?

There is no known exploitation of CVE-2018-7933 in the wild and no public exploit code.

Sources

Also known as GHSA-4xmf-8wjf-4hrh.

Is CVE-2018-7933 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free