Tapjacking Android dialog to launch intents
Firefox on Android shows a confirmation dialog before launching an external app via an intent, but the dialog can be tapjacked. An attacker could lure a victim into tapping the confirmation through a distracting game, allowing an intent to launch without informed consent.
Originally disclosed on Mozilla
- Fixed in 17 months
- Paid in 17 months
- Disclosed after 17 months
Created attachment 9337626
poc.html
Android applications with unpatched vulnerabilities can be launched from a browser using Intents. Firefox confirms with users whether they want to launch an external application before proceeding, providing protection against these vulnerabilities.
In this proof of concept, I will demonstrate a method where an attacker could lure the victim into unknowingly allow an intent through Tapjacking, using an engaging game.
Steps to Reproduce:
1 . Download the file poc.html to a folder
2. Start a Python server on the same folder by running the command python -m http.server 8080.
3. Open the Android Firefox browser and navigate to the server at http://{YOUR-SERVER-IP}:8080/poc.html to Begin testing.
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
Root cause
Likely the confirmation dialog can be obscured or overlaid by page content, so the user's tap lands on the allow button without them seeing it.
Impact
A victim could be tricked into allowing an external app to launch from the browser, which may expose them to unpatched vulnerabilities in that app.
What the attacker needed
Android device with Firefox; victim visits attacker page; victim interacts with the page
How it was found
- Download the proof-of-concept HTML file to a folder.
- Start a local Python web server in that folder.
- Open Firefox on Android and navigate to the served page to begin testing.
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.
When a web page tries to open another app on your phone, Firefox asks you to confirm. Tapjacking means tricking you into tapping that confirmation without realising it, for example by covering the screen with a game. The report shows a proof of concept where a game distracts the user so they tap the allow button by accident.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.