Skip to content
Info disclosure Advisory Intermediate CVE-2018-3987

Rakuten Viber Android Secret Chats Information Disclosure Vulnerability

A flaw in Viber's Secret Chats leaves copies of photos taken via the camera intent on the device filesystem even after the chat is deleted. Any other app on the device could access these leftover photos.

Vitor Ventura Follow

Originally disclosed on Cisco Talos

Medium 4.2 View original

An exploitable information disclosure vulnerability exists in the “Secret Chats” functionality of Rakuten Viber on Android 9.3.0.6. The “Secret Chats” functionality allows a user to delete all traces of a chat either by using a time trigger or by direct request.

Vitor Ventura, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely Viber uses the IMAGE_CAPTURE intent to take photos, so the native camera app saves an extra copy outside Viber's control, which is not deleted with the chat.

Impact

Any app installed on the device could access the leftover photos, exposing private information from deleted Secret Chats.

What the attacker needed

Viber installed on Android; User takes a photo in a Secret Chat; User deletes the chat or it self-destructs

The fix

Viber should implement its own photo-taking code using the Camera2 class to ensure the photo data is not saved by a third-party application.

How it was found

  1. Open a Secret Chat in Viber.
  2. Take a photo to send in the chat.
  3. Delete the Secret Chat or let it self-destruct.
  4. The photo remains on the device filesystem and is accessible to other apps.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Secret Chats are meant to delete all traces of a conversation. But when you take a photo inside a Secret Chat, Viber asks the phone's camera app to take it, and that camera app saves its own copy in a shared area. So even after the chat is deleted, the photo remains on the phone and other apps can read it.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Vitor Ventura

View all

3 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.