Connect with our team of offensive security, AI security and pen testing experts at Black Hat Europe 2023. Learn More

Connect with our team of offensive security, AI security and pen testing experts at Black Hat Europe 2023. Learn More

Managed Detection & Response

Eradicate cyberthreats with world-class intel and expertise

Managed Security Services

Expand your team’s capabilities and strengthen your security posture

Consulting & Professional Services

Tap into our global team of tenured cybersecurity specialists

Penetration Testing

Subscription- or project-based testing, delivered by global experts

Database Security

Get ahead of database risk, protect data and exceed compliance requirements

Email Security & Management

Catch email threats others miss with layered security & maximum control

Co-Managed SOC (SIEM)

Eliminate alert fatigue, focus your SecOps team, stop threats fast, and reduce cyber risk

Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
The Trustwave Approach
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Platform
SpiderLabs Fusion Center
Security Operations Centers
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Huawei LTE USB Stick E3372: From File Overwrite to Code Execution

In today's world, more and more devices are connected to the Internet for on-the-go connectivity. Huawei has a mobile broadband service that allows Internet connectivity via cellular networks by using a small USB dongle. The device itself  Huawei LTE USB Stick E3372  looks like a USB thumb drive and comes with software to install on macOS called HiLink.

Any consumer laptop/computer with a USB port can be easily connected to the Internet with this USB dongle – just plug it in, install the software that comes with it, and you’re ready to go (provided the dongle has a SIM card inserted with a working data plan of course). 

At the time of writing, this device can be purchased in Germany and Italy directly from Huawei:

There are also many used and new devices available on eBay and other online retailers. 

During a quick analysis of the software, I spotted a security vulnerability: one of the installed files is missing appropriate access control settings. Simply put, any authenticated user on the computer can overwrite the file:


See permissions set by the installer:


This file has a special purpose: when a user logs on to the computer and inserts the dongle, that file is automatically executed to open up a web browser with the device management interface. All a malicious user needs to do is to replace the file with their own desired code and wait for a legitimate user to start using the cellular data service via Huawei device.

Product page:

The issue affects multiuser environments where one user account can execute code as another user without the latter one knowing about it. Malicious actors can take advantage of vulnerabilities like this by getting an initial foothold that triggers the installation of more robust malware.

As a part of our Responsible Disclosure policy, Trustwave SpiderLabs attempted to contact Huawei multiple times to report the vulnerability. A timeline is below.

October 7, 2020 – Initial email communication to Huawei to multiple security and support email addresses. Non-responsive to initial email communications.  

December 15, 2020 – Contacted Huawei U.S. support via phone in an attempt to find the appropriate contact.  We were provided a new support contact email address.

December 16, 2020 – Trustwave attempted to connect to provided email addresses multiple times. No response.

Patch Now Available

In the last 24 hours before publishing, Huawei reached out to Trustwave SpiderLabs. Huawei notified Trustwave that we did not connect with the Huawei Product Security Incident Response Team (PSIRT) email alias - Now in touch with the correct team, we provided Huawei with the pertinent information to address the vulnerability. Huawei released a patch on June 2, the day of this blog publishing. Please upgrade the affected HiLink products tool to version or the latest stable version. Huawei’s security advisory can be found here:

Thank you, Huawei, for providing the correct PSIRT contact information. Trustwave will use this contact information to report any future vulnerabilities moving forward.


Trustwave SpiderLabs Security Advisory TWSL2021-008: Code Execution Vulnerability in Huawei Mobile Broadband HL Service

Latest SpiderLabs Blogs

The 2023 Retail Services Sector Threat Landscape: A Trustwave Threat Intelligence Briefing

The annual holiday shopping season is poised for a surge in spending, a fact well-known to retailers, consumers, and cybercriminals alike. The latter group, however, is poised to exploit any...

Read More

Pwning Electroencephalogram (EEG) Medical Devices by Default

Overall Analysis of Vulnerability Identification – Default Credentials Leading to Remote Code Execution During internal network testing, a document was discovered titled the “XL Security Site...

Read More

Hidden Data Exfiltration Using Time, Literally

I was looking at my watch last week and my attention was moved towards the seconds over at the right of the watch face, incrementing nicely along as you’d expect. Now, I don’t know if I’d just spent...

Read More