Theft of arbitrary files in LINE Lite client for Android
An exported activity in LINE Lite for Android did not validate the URI supplied by another app, so a malicious app could cause private files from LINE Lite to be copied into a publicly accessible directory after some user interaction.
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 5 months
- Paid in 2 months
- Disclosed after 5 months
Summary by the program
Due to one of the exported activities(com.linecorp.linelite.ui.android.share.SelectShareActivity) of LINE Lite client for Android before 2.17.0 not verifying the URI sent by a third-party application installed on the user device, the application with some interaction of the user would be able to retrieve private files within the LINE Lite client for Android to be copied to the publicly accessible directory.
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
Impact
A malicious app installed on the device could, with some user interaction, cause private files inside LINE Lite to be copied to a publicly accessible directory, exposing them to other apps.
What the attacker needed
Malicious app installed on device; some user interaction
The fix
The activity should validate the caller-supplied URI and restrict it to permitted locations; the text only says affected versions are before 2.17.0.
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.
Android apps can expose parts of themselves to other apps on the same phone. One such exposed part in LINE Lite accepted a file location from any other app without checking it, so a malicious app could ask LINE Lite to copy its private files somewhere other apps can read. The user had to interact with the malicious app for this to happen.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.