Two high-severity flaws inside the SHAREit Android app permit an attacker to bypass the report switch utility’s device authentication mechanism – and ultimately download content material and arbitrary files from the sufferer’s tool, at the side of a raft of information inclusive of Facebook tokens and cookies.

SHAREit is an app allowing customers to transfer their video, music, files, and apps throughout various gadgets. The app has been downloaded by extra than 500 million users, in step with its website. The vulnerabilities, which now have a patch available, have been disclosed Monday by the researchers at Redforce who determined them.

Here SHAREit MediaStore database containing interesting statistics about files inside the gadget inclusive of the file name, type, size, direction, and greater different records.


“Although the vulnerability become at the start determined in December 2017 and officially fixed in March 2018, we decided not to reveal vulnerability details earlier than these days given the effect of the vulnerability, its massive assault surface and ease of exploitation,” said Abdulrahman Nour, a safety engineer at Redford, in a post. “We wanted to offer as many human beings as we will the time to update and patch their gadgets earlier than disclosing such critical vulnerability.”

The flaws, which could be exploited by an attacker on a shared WiFi community, have a CVSS rating of 8.2, meaning they may be high-severity

An attacker on the same WiFi network as the victim may want to see if the victim’s device is walking SHAREit server by using truly checking if two specified ports are open: Port 55283 and Port 2999.

The former is an ordinary TCP channel in which the app exchanges messages with different SHAREit instances on different devices – along with tool identity and record transmission requests. Port 2999 meanwhile is the app’s HTTP server implementation utilized by other clients to download shared files.

“What makes it even of greater chance is that inclined SHAREit application create an ‘open’ WiFi hotspot with an easily prominent name (SSID) for you to share files,” Nour told, “Identifying such open WiFi networks is a strong indicator of a SHAREit device [existing] round an attacker.”

Once a SHAREit person has been identified, it’s relatively easy to compromise the gadget, researchers stated.

When someone makes use of SHAREit to send a record, the ordinary file switch session starts offevolved with the authentication of a tool, then the “sender” transfers a manipulate message to the “receiver” to indicate that it has a file to ship, researchers said. If “receiver” comes to a decision that it isn’t a duplicate file, it goes to download channel and fetches the sent record, the use of facts from the previous manipulate message.

However, the crew discovered that once a consumer with no valid session attempts to fetch a non-existent page – which may be as easy as [curl http://shareit_sender_ip:2999/DontExist] — a glitch within the app causes it to authenticate the consumer, “making this the weirdest and best authentication skip we ever have seen.”

That’s due to the fact the app fails to validate the msgid parameter – a completely unique identifier for each request to ensure that the downloaded request changed into originally initiated by using the sender

“The odd conduct occurs when an unauthenticated person attempts to fetch the non-existing page, instead of an everyday 404 web page, the application responds with a 200 popularity code empty web page and adds the consumer into recognized gadgets!!” stated Nour.

The glitch basically means that awful actors will be delivered to a sufferer’s trusted gadgets by means of simply sending them a request seeking to fetch a non-existent web page.

“if the tool still does no longer authorize the attacker’s download requests, it completes the regular SHAREit device handshake with the intention to add the device into trusted devices (however this requires that the victim has already initiated document transfer consultation and it seems on person’s screen), so the first method is attempted first to live stealthily,”

From there, if attackers know the precise vicinity of the record they would like to retrieve, they can ship a curl command, which references the course of the target document to retrieve and download it.

This is easier than it sounds, because several files with recognized paths already are publicly available, such as the SHAREit history database, which contains facts of all documents exchanged the usage of SHAREit software; and the SHAREit MediaStore Database, which contains information of most of the media files on the device, said Nour.

“There are different documents that comprise juicy records including person’s Facebook token, Amazon Web Service person’s key, auto-fill information and cookies of web sites visited the usage of SHAREit review or even the plaintext of consumer’s authentic hotspot (the software stores it to reset the hotspot settings to unique values) and much extra,” said researchers

Evidence of the idea video of the hack is below.

This vulnerability becomes at the start observed on lower back to December 2017 and the silent fix becomes done but SHAREit crew refusing to disclose the precise patched model nor assign CVE numbers to determined vulnerabilities. Exploit can be downloaded from our GitHub repository.

READ  LookBack Malware