Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
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
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
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:

https://consumer.huawei.com/de/routers/e3372/buy/

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:

/Library/StartupItems/MobileBrServ/mbbserviceopen.app/Contents/MacOS/mbbserviceopen

See permissions set by the installer:

DOC_17995_6a0133f264aa62970b0278802af971200d

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: https://consumer.huawei.com/en/routers/e3372/specs/

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 - PSIRT@huawei.com. 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 22.001.34.02.03 or the latest stable version. Huawei’s security advisory can be found here: https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20210602-01-permission-en

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

References

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

Latest SpiderLabs Blogs

Using AWS Secrets Manager and Lambda Function to Store, Rotate and Secure Keys

When working with Amazon Web Services (AWS), we often find that various AWS services need to store and manage secrets. AWS Secrets Manager is the go-to solution for this. It's a centralized service...

Read More

Facebook Malvertising Epidemic – Unraveling a Persistent Threat: SYS01

The Trustwave SpiderLabs Threat Intelligence team's ongoing study into how threat actors use Facebook for malicious activity has uncovered a new version of the SYS01 stealer. This stealer is designed...

Read More

Tips for Optimizing Your Security Operations Framework

Building an effective Security Operations framework that provides the right balance of people, processes, and technologies can take years.

Read More