Xiaomi Guard Provider Pre-Installed Security App Reported to Have a Serious Vulnerability

Advertisement
By Nadeem Sarwar | Updated: 6 April 2019 11:44 IST
Highlights
  • The vulnerability could pave the way for MiTM attacks
  • It could allow malicious parties to seed a harmful APK
  • Xiaomi has now fixed the flaw after its discovery

The vulnerability was associated with the use of multiple SDKs in the Guard Provider app.

Photo Credit: Check Point Research

Xiaomi smartphones may have security vulnerabilities. After another report earlier this week about URL spoofing in preloaded browsers, it is now being reported that Xiaomi Guard Provider, a security app which comes pre-installed on Xiaomi smartphones, has been discovered harbouring a grave vulnerability that would have allowed a malicious party to wreak havoc by intercepting the traffic linked to the app. As per the findings of a cyber-security firm, the unencrypted traffic could allow a bad actor to add a malicious code that could be executed to perform data theft or install malware. Thankfully, Xiaomi has patched the vulnerability once the issue was discovered, and so far, there are no reports of the flaw being exploited.

As per a report by Check Point Research, the underlying issue that gave rise to the vulnerability in the Guard Provider app was the use of multiple SDKs for the three different anti-virus services it employs. Xiaomi's pre-installed security app utilised Avast, AVL, and Tencent for scanning the device for virus, all three of which employ different SDKs. But the issue with using multiple SDKs is that threat to one of them can compromise the others too, and the private data of one SDK can be accessed by another SDK as well.

In case of the Guard Provider app, a malicious party could carry out a Man-in-the-Middle (MiTM) attack by connecting to the same Wi-Fi network and tapping into the unsecured traffic routed through the security app. The bad actor could then sever the connection of Avast SDK from the server, change the configuration of the alternate SDK i.e., AVL, link it to a crafted ZIP file, and overwrite other files in the app's sandbox.

Advertisement

Once this happens, the attacker could again activate Avast and allow the malicious APK to be executed by circumventing the security check process. “The attack is successful because the previous Avast update's signature file was not verified before loading and Guard Provider has already checked it the first time it was downloaded”, wrote Check Point Research's Slava Makkaveev. Once Xiaomi was notified of the security threat, the company reportedly released a patch for the Guard Provider app to fix the flaw.

Advertisement

It turns out that the AVL SDK is vulnerable to another security issue that helps the attacker carry out the second stage of the attack: a path-traversal during the decompression process. As a result, the attacker is able to use a crafted archive to overwrite any file in the app's sandbox, including files related to another SDK.

All that the attacker needs to do now is release the Avast communication and block AVL's communication until the user again chooses Avast as the active anti-virus. When this happens, the crafted malicious APK file will be loaded and executed by the Avast SDK.

Advertisement

The attack is successful because the previous Avast update's signature file was not verified before loading and Guard Provider has already checked it the first time it was downloaded. It thus assumes there is no reason to verify it again. In this way, the crafted malicious file can be downloaded and run as he has essentially sneaked around the guard's back.

It is not clear whether the patch released by Xiaomi has addressed only the unsecured traffic routing flaw, or if it has solved an inherent issue associated with the AVL SDK as well. Though if the routing traffic flaw is fixed, the AVL SDK flaw cannot be exploited through a MiTM attack.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Here's When the Realme 16 Pro Series Will Launch in India
  2. Google's Pixel Upgrade Program Lets You Get the Latest Model Every Year
  3. Here's How Much The Redmi Note 15 5G Could Cost in India
  4. OTT Releases This Week: Thamma, Mrs Deshpande, Raat Akeli Hai The Bansal Murders, and More
  5. Oppo Pad Air 5 Launch Date Announced: See Expected Features
  6. Sony's Year-End Holiday Sale on PS5 Accessories, Games Kicks Off Next Week
  7. Oppo Reno 15 Pro, Reno 15 Pro Max Global Variants Surface on Geekbench
  8. YouTube Bans Popular Channels for Making Misleading AI-Generated Movie Trailers
  9. Instagram Will Now Restrict the Number of Hashtags You Can Use
  1. New FIFA Game to Launch on Netflix Games in Time for FIFA World Cup Next Year
  2. WhatsApp GhostPairing Scam Reportedly Lets Hackers Take Over Accounts Without Authentication
  3. Honor Magic V6 Tipped to Launch With 7,200mAh Dual-Cell Battery, Snapdragon 8 Elite Gen 5 SoC
  4. YouTube Bans Popular Indian Channel for Making Misleading AI-Generated Movie Trailers
  5. OpenAI Updates AI Guidelines to Prioritise Teen Safety Over Other Goals
  6. Dominic and The Ladies Purse Out on OTT: Know Everything About Streaming, Plot, Cast, and More
  7. Sony Announces Year-End Holiday Sale in India on PS5 Accessories, Games
  8. Xiaomi 17 Ultra Battery, Charging Specifications and Colourways Tipped Ahead of Launch
  9. Redmi Note 15 5G Price in India, Storage Configurations Tipped Ahead of January 6 Launch
  10. Little Hearts Streaming Now on Netflix: Know Everything About Plot, Cast, and More
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.