Firefox for Android: LAN-Based Intent Triggering
A malicious SSDP server on the local network could respond to Firefox for Android's discovery requests with an Android Intent URI in the LOCATION header, causing the browser to launch arbitrary activities without user interaction. An attacker could force the victim's device to open a web page, dial a number, or compose an email.
Published on blog.mozilla.org
In its inception, Firefox for Desktop has been using one single process for all browsing tabs. Since Firefox Quantum, released in 2017, Firefox has been able to spin off multiple “content processes”.
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
The SSDP discovery handler in Firefox for Android passed the LOCATION header value directly to Android's Intent system without validating that it was a safe HTTP URL.
Impact
An attacker on the same local network could force Firefox for Android to launch arbitrary activities, such as opening a web page, dialing a number, or composing an email, without any user interaction; the impact is limited to the local network and the vulnerable version 68.11.0 and below.
What the attacker needed
Attacker on the same local network; victim uses Firefox for Android 68.11.0 or below; Firefox is running on the victim's device
The fix
The vulnerability was fixed in the rewritten Firefox for Android (Fenix), and Mozilla took steps to ensure it would not be reintroduced.
How it was found
- Join an Android device running a vulnerable version of Firefox to a wireless network and ensure Firefox is running.
- On another device on the same network, run the provided Python script with a chosen Intent URI as the target.
- All Android devices on the network running Firefox will automatically perform the action specified by the Intent.
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.
When Firefox for Android looks for devices like Roku on your Wi-Fi, it sends out a broadcast message. A malicious device on the same network can reply with a special link that tells Android to open an app or perform an action, like dialing a number. Because Firefox trusted this reply, it would automatically trigger that action without asking you.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.