SHAREit Vulnerabilities Could Allow Remote Code Execution, Leak Sensitive Data

SHAREit was among the 59 apps banned in June 2020 in India because it was made by Chinese developers.

Advertisement
By Vineet Washington | Updated: 18 February 2021 16:22 IST
Highlights
  • SHAREit vulnerabilities could allow attackers to install malicious apps
  • Attackers could perform remote code execution
  • SHAREit was banned in India in June 2020

SHAREit is not available on Google Play in India

Photo Credit: Google Play

SHAREit app has been found to have vulnerabilities that can be exploited to leak sensitive data and execute arbitrary code. A cyber-security software company has discovered “several vulnerabilities” in SHAREit and states that these are most likely unintended flaws in the app. The company says it has informed Google of these vulnerabilities. In India, SHAREit was banned back in June last year along with 58 other apps including TikTok, UC Browser, WeChat, and others. These apps had one common factor – they were all of Chinese origin.

Trend Micro, a cyber-security software company, discovered various vulnerabilities in file sharing app SHAREit. To do so, it built a proof-of-concept (POC) code which showed that any app can invoke a StartActivity function in SHAREit, including its internal (non-public) and external app activities. It was also found that any third-party entity can gain temporary read/ write access to the content of the person who is sharing the data. The POC code read WebView cookies and it was noted that this code can be used to write any files in the app's data folder. This means that the files can be overwritten as well.

Attackers could also craft a fake vdex/ odex file – that SHAREit generates when first launched – and then replace those files due to the vulnerability, allowing the attacker to perform code execution.

Advertisement

Trend Micro found that SHAREit provides a feature that can install an APK with the file name suffix ‘sapk' that can be used to install a malicious app. This would enable a limited Remote Code Execution (RCE) when the user clicks on a URL (SHAREit has deep links using URL leading to specific features in the app).

Advertisement

The company built an href attribute in HTML to verify RCE with Google Chrome browser. Chrome was coded to call SHAREit to download the sapk from http://gshare.cdn.SHAREitgames.com and since it supports HTTP protocol, the company found it can be replaced by simulating a man-in-the-middle (MitM) attack. This would allow malware to be downloaded to the user's phone.

Additionally, SHAREit is susceptible to a man-in-the-disk (MITD) attack as when a user downloads a certain app through SHAREit, it goes to a folder in an external directory. This means that the app can access the directory with SD card write permission.

Advertisement

Trend Micro recommends regularly updating mobile operating systems and the apps in order to try and prevent such vulnerabilities negatively affecting you. The Indian government banned SHAREit and 58 other apps back in June 2020 as they were of Chinese origin.


Is Mi 10i a OnePlus Nord killer? We discussed this on Orbital, our weekly technology podcast, which you can subscribe to via Apple Podcasts, Google Podcasts, or RSS, download the episode, or just hit the play button below.

 

Affiliate links may be automatically generated - see our ethics statement for details.
 

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.

Further reading: SHAREit, Google, Chrome, Google Play
Advertisement

Related Stories

Popular Mobile Brands
  1. GTA 6 PC System Requirements: Anticipated Specs, System Recommendations
  1. Engineers Turn Lobster Shells Into Robot Parts That Lift, Grip and Swim
  2. Strongest Solar Flare of 2025 Sends High-Energy Radiation Rushing Toward Earth
  3. Raat Akeli Hai: The Bansal Murders OTT Release: When, Where to Watch the Nawazuddin Siddiqui Murder Mystery
  4. Bison Kaalamaadan Is Now Streaming: Know All About the Tamil Sports Action Drama
  5. Pharma OTT Release: When, Where to Watch the Malayalam Medical Thriller Web Series
  6. Apple, Google and Samsung Reportedly Challenge India's New Proposal on Always-On Smartphone Location Tracking
  7. SpaceX Launches 28 New Starlink Satellites as Falcon 9 Hits Another Milestone
  8. Misaligned Exoplanet Is Challenging How We Think Solar Systems Form
  9. Indian Dance Mudras May Revolutionise Robotic Hand Control, UMBC Study Shows
  10. Mission: Impossible – The Final Reckoning Now Streaming Online: Watch Ethan Hunt's Final Quest on This OTT Platform
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.