Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Mobile

Flaws in Telegram & WhatsApp on Android Put Data at Risk

App settings combined with Android behavior can put data integrity at risk for WhatsApp and Telegram users.

WhatsApp and Telegram are personal messaging apps that have, between them, more than 1.7 billion users around the world. They are frequently used by political activists, healthcare providers, and businesses around the world because of the security of their "always encrypted" communications. But recent research shows that there are security vulnerabilities that could open the services to manipulation and data theft for users on Android devices.

In a blog post today, Symantec researchers Yair Amit and Alon Gat discussed a media file jacking flaw in the way that the Android apps store files that the user receives. The researchers note that the flaw isn't in the app code, but in the app logic, specifically where the apps will store files that they receive.

"We found the vulnerability in the way on Android that WhatsApp (by default) and Telegram (in a certain setting) can store attachments like photos and audio messages before the user is able to open the original file," says Domingo Guerra, senior director of modern OS security at Symantec.

The trouble is that Android can store files in two locations — internal and external storage. Data in internal storage can only be accessed by the app that stored it. Data in external storage is defined as world readable and writeable — any app or user can read and modify the data.

WhatsApp stores received media files in external storage by default. Telegram uses external storage for its "Save to Gallery" feature. In both cases, the files are stored to publicly accessible directories.

According to Guerra, there are several kinds of damage that could result from the ability to intercept and manipulate files on an Android device — damage beyond the simple ability to see what sort of files are being sent back and forth between users.

In the blog post on the vulnerability, the researchers point out image manipulation, in which faces are changed or individuals inserted into images; audio manipulation, in which a "deepfake" technology makes it seem an individual is saying something they never actually said; invoice manipulation, in which the amount and payment details in a legitimate invoice are changed to send money into the attacker's account; and "fake news," in which the material sent out by a legitimate news organization is changed to become inaccurate, as possible harm from media file jacking.

To add to the vulnerability's seriousness, "You don't have to attack Telegram or WhatsApp for this to happen," says Guerra. "A device that already has malware that's monitoring for external storage could be vulnerable to replaced documents."

The apps' global footprints mean that the potential impact of these vulnerabilities. For example, Otavio Freire, CTO and president of SafeGuard Cyber, says, "In South America two years ago, doctors didn't use WhatsApp to communicate at all. Now, the adoption is 90% of Brazilian doctors who use WhatsApp for daily business."

And Freire says that more companies will be — and should be — using WhatsApp, Telegram, and other messaging apps going forward. "Companies that come to WhatsApp have come to it because it has significantly impacted their business processes," he says. "They do better marketing. They do better sales. They do better customer service. That's where the customers are, so if you ignore it, you're not where your customers are."

As for protection against the vulnerabilities, both Guerra and Freire say that some steps will be up the individual device owners — like setting WhatsApp to store files in internal storage and not using the "Gallery" function of Telegraph.

In addition, Freire points to the importance of saving archival copies of any corporate information transmitted by either app (or other messaging apps). In an era that sees the possibility of "deepfakes," they are necessary insurance against unwanted information going out to employees or customers.

Related content:

 

Black Hat USA returns to Las Vegas with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions, and service providers in the Business Hall. Click for information on the conference and to register.

Curtis Franklin Jr. is Senior Editor at Dark Reading. In this role he focuses on product and technology coverage for the publication. In addition he works on audio and video programming for Dark Reading and contributes to activities at Interop ITX, Black Hat, INsecurity, and ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
tonny123
50%
50%
tonny123,
User Rank: Apprentice
7/16/2019 | 2:00:20 AM
Netgear Router issues
very nice
Navigating Security in the Cloud
Diya Jolly, Chief Product Officer, Okta,  12/4/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-16772
PUBLISHED: 2019-12-07
The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.to...
CVE-2019-9464
PUBLISHED: 2019-12-06
In various functions of RecentLocationApps.java, DevicePolicyManagerService.java, and RecognitionService.java, there is an incorrect warning indicating an app accessed the user's location. This could dissolve the trust in the platform's permission system, with no additional execution privileges need...
CVE-2019-2220
PUBLISHED: 2019-12-06
In checkOperation of AppOpsService.java, there is a possible bypass of user interaction requirements due to mishandling application suspend. This could lead to local information disclosure no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVers...
CVE-2019-2221
PUBLISHED: 2019-12-06
In hasActivityInVisibleTask of WindowProcessController.java there?s a possible bypass of user interaction requirements due to incorrect handling of top activities in INITIALIZING state. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction ...
CVE-2019-2222
PUBLISHED: 2019-12-06
n ihevcd_parse_slice_data of ihevcd_parse_slice.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-8.0 Android...