Skip to content
Mobile Write-up Intermediate

Firefox for Android: LAN Based Intent Triggering

The SSDP discovery feature in Firefox for Android could be tricked into launching arbitrary Android intents by a malicious server on the same WiFi network. An attacker could force the victim's device to open web pages, compose emails, or dial numbers without any user interaction.

Chris Moberly Follow

Published on initblog.com

The SSDP engine in Firefox for Android (68.11.0 and below) can be tricked into triggering Android intent URIs with zero user interaction. This attack can be leveraged by attackers on the same WiFi network and manifests as applications on the target device suddenly launching, without the users’ permission, and…

initstring, on initblog.com

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

Root cause

Likely, Firefox did not validate that the location returned in an SSDP response was a safe UPnP description URL, allowing an attacker to supply an Android intent URI that Firefox then invoked.

Impact

A remote attacker on the same WiFi network could trigger predefined Android intents on the victim's device without interaction, potentially leading to phishing or installation of malicious apps, though the execution is limited to predefined intents.

What the attacker needed

Attacker on same WiFi network; victim has Firefox for Android running; Firefox version 68.11.0 or below

The fix

The vulnerable functionality was removed in Firefox for Android version 79 and above.

How it was found

  1. Open Firefox on the Android device and leave it running.
  2. On a Linux laptop connected to the same WiFi, run the exploit tool with a chosen intent URI.
  3. Firefox on the mobile device navigates to the specified URI within a few seconds.

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.

Firefox for Android looks for devices to cast to on the local network by sending out discovery messages. A malicious device on the same WiFi can reply with a special message that makes Firefox open other apps or web pages without the user doing anything. This only works when the attacker and victim are on the same WiFi network.

What is Mobile?

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

More by Chris Moberly

View all

2 more disclosed reports, best first.

More from Mozilla

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.