Facebook Android Application
A Facebook Android deeplink that opens video URLs did not validate the file type or source, so an attacker could make the app download arbitrary files such as an APK. If the victim had a file manager installed, the downloaded file could be saved and launched.
The Facebook android app utilises deeplinks throughout the whole application.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could get a victim's phone to download an arbitrary file, and with a file manager installed the victim could be led to launch it, though the report notes a file manager is required.
What the attacker needed
Facebook Android app installed; victim opens a crafted deeplink; a file manager is installed
The fix
The issue was fixed after triage, according to the timeline.
How it was found
- Craft a Facebook deeplink that points at a file of your choosing.
- Open the deeplink on a device with the Facebook app installed.
- The app downloads the linked file.
- Use an installed file manager to save and launch the downloaded file.
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 write-up has not been written yet. The Original tab links to the source.
A deeplink is a special link that opens a specific screen inside an app instead of a website. Here the app trusted whatever address was placed in the link and downloaded it without checking what kind of file it was. That meant a crafted link could pull a malicious app installer onto the phone.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.