This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy >

Security Advisory - Path Traversal Vulnerability on Huawei Share

  • SA No:huawei-sa-20190703-01-share
  • Initial Release Date: Jul 03, 2019
  • Last Release Date: Jul 03, 2019

There is a path traversal vulnerability on Huawei Share. The software does not properly validate the path, an attacker could crafted a file path when transporting file through Huawei Share, successful exploit could allow the attacker to transport a file to arbitrary path on the phone. (Vulnerability ID: HWPSIRT-2019-03115)

This vulnerability has been assigned a Common Vulnerabilities and Exposures (CVE) ID: CVE-2019-5221.

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-20190703-01-share-en


Product Name

Affected Version

Resolved Product and Version

Mate 20 X

Versions earlier than Ever-L29B 9.1.0.300(C432E3R1P12)

Ever-L29B 9.1.0.300(C432E3R1P12)

Versions earlier than Ever-L29B 9.1.0.300(C636E3R2P1)

Ever-L29B 9.1.0.300(C636E3R2P1)

Versions earlier than Ever-L29B 9.1.0.300(C185E3R3P1)

Ever-L29B 9.1.0.300(C185E3R3P1)

Successful exploit could allow the attacker to transport a file to arbitrary path on the phone.


The vulnerability classification has been performed by using the CVSSv3 scoring system (http://www.first.org/cvss/specification-document).

Base Score: 5.4 (AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) 

Temporal Score: 5.0 (E:F/RL:O/RC:C)


This vulnerability can be exploited only when the following conditions are present:

The attacker accesses the victim's adjacent network.

Vulnerability details:

The software does not properly validate the path, an attacker could crafted a file path when transporting file through Huawei Share, successful exploit could allow the attacker to transport a file to arbitrary path on the phone.


The product that supports automatic update will receive a system update prompt. You can install the update to fix the vulnerability.

This vulnerability was reported to Huawei PSIRT by Wen Guanxing of Pangu lab. Huawei would like to thank Wen Guanxing for working with us and coordinated vulnerability disclosure to protect our customers.


2019-07-03 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.