Skip to content
Mobile Write-up Intermediate

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.

Ash King Follow

Published on ash-king.co.uk

Bounty$750 View original

The Facebook android app utilises deeplinks throughout the whole application.

Ashley King, on ash-king.co.uk

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

  1. Craft a Facebook deeplink that points at a file of your choosing.
  2. Open the deeplink on a device with the Facebook app installed.
  3. The app downloads the linked file.
  4. 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.

More by Ash King

View all

3 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.