Tapjacking to Install Extension through toast
A tapjacking weakness in Firefox for Android allowed a malicious app to trick the user into installing a browser extension. An attacker could overlay a toast to obscure the real screen and cause taps to land on the extension install prompt.
- Fixed in 16 days
- Paid in 3 months
- Disclosed after 16 days
Created attachment 9597416
firefox_extension.mp4
After fixing https://bugzilla.mozilla.org/show_bug.cgi?id=2040834, this can be bypassed by using a toast.
Steps to reproduce:
1. Install the PoC application (find the source code here) (https://drive.google.com/file/d/1eeLjP9nKynsM4Z0f3rh5ownI0uvO0X7x/view?usp=sharing)
2. Tap the white box
3. Tap the circle (you can also skip this step, or you can do it in step 2 after tapping the white box, then tap the bottom right corner)
4. Install the extension https://addons.mozilla.org/en-US/android/addon/adguard-adblocker/
OS: Android 16
Device: Samsung S25 Edge
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
What the attacker needed
Malicious app installed; victim taps the attacker's overlay; Android device
How it was found
- Install the proof-of-concept app on the device
- Tap the white box shown by the app
- Optionally tap the circle, or tap the bottom right corner after the white box
- The extension installs from the add-ons site
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.
Tapjacking is when a malicious app draws something on top of another app's screen so your taps go somewhere you did not intend. Here the attacker used a small pop-up message (a toast) to hide what was really underneath, so tapping a harmless-looking box actually confirmed installing an extension.
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.