Tapjacking Permission (Camera, Location, Microphone, etc.) Using Select Option on Android
A delayed select option could be rendered on top of a permission prompt, hiding the security UI. A malicious website could then trick the victim into double-tapping the select option, which inadvertently grants the permission in the background.
Originally disclosed on Mozilla
- Fixed in 8 days
- Paid in 20 days
- Disclosed after 8 days
When the Select option is delayed and called simultaneously with the permission prompt, the selection option is rendered on top of the permission prompt's security UI. Consequently, a malicious website can trick the victim into double-tapping the selection option, inadvertently allowing the permission prompt in the background.
Without a delayed trigger for the select option, the permission prompt opens on top of the select option, which is visible to the user. However, a delay could bypass this by rendering the select option on top of the permission prompt, obscuring the security prompt. Therefore, a possible fix should block the select option or any similar prompt from rendering, even after a delay, when a permission prompt is open.
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 browser does not prevent select option UI from rendering above a permission prompt when the select is triggered with a delay.
Impact
A malicious website could trick a victim into granting permissions such as camera, location, or microphone without the victim seeing the real prompt.
What the attacker needed
Victim visits a malicious website; victim double-taps the select option
The fix
The select option or similar prompt should be blocked from rendering, even after a delay, while a permission prompt is open.
How it was found
- Trigger a select option with a delay.
- Simultaneously call the permission prompt.
- The select option renders on top of the permission prompt.
- The victim double-taps the select option, allowing the permission in the background.
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 website asks for a permission like camera or location, Android shows a pop-up asking you to allow or deny. This report found that a website could make a dropdown menu appear on top of that pop-up, hiding it. Then, if you tap the dropdown, you might accidentally allow the permission without realising it.
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.