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.
Originally disclosed on Cisco Talos
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.
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
- Open a Secret Chat in Viber.
- Take a photo to send in the chat.
- Delete the Secret Chat or let it self-destruct.
- 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.