In Firefox on iOS, the permission request prompt from the site in the background tab is overlaid on top of the site in the foreground tab.
In Firefox on iOS, a permission request prompt triggered by a background tab is displayed over the page shown in the foreground tab. An attacker could use this to trick a user into granting a permission they believe belongs to the site they are viewing.
- Fixed in 10 months
- Paid in 11 months
- Disclosed after 10 months
Originated from bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1784741
Vulnerabilities related to T6
T6-1 : In Firefox on iOS, the permission request prompt from the site in the background tab is overlaid on top of the site in the foreground tab. The permission types in which this vulnerability exists are shown in Table VIII. This vulnerability realizes the Permission-based Phishing Attack shown below. This vulnerability can be exploited in a serious attack that threatens user privacy.
Permission-based Phishing Attack
In a Permission-based Phishing Attack, an attacker compels the target to mistakenly grant access to a resource by presenting a fake permission request. For details on this attack, refer to Sections V-B and VI-B of our paper. Proof-of-concept Code We share a proof-of-concept code for overlay of permission request prompts. https://drive.google.com/drive/folders/1OCA3qSmx-lB-pQB30ky62Xmoi_2BYV4z?usp=sharing
You can try the overlay of the permission request prompt by installing this PoC code on a server on an HTTPS domain. In particular, open index.html, click on the "Open a New Tab" link, and wait for about 20 seconds. Then you will see a permission request prompt from the domain where index.html is located on the site "example.com" which is opened in a new tab.
We also prepared a website with PoC installed on our server. https://pocforshare.com/77cxk/index.html
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
Impact
A user could be tricked into granting a permission to an attacker's site while believing they were granting it to the site they were viewing, which threatens their privacy.
What the attacker needed
Firefox on iOS; attacker page served over HTTPS; victim opens the page and a new tab; victim waits for the prompt
How it was found
- Host the proof-of-concept page on an HTTPS server.
- Open the page and click the link that opens a new tab.
- Wait about twenty seconds.
- Observe a permission prompt from the first site appearing over the page in the new tab.
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 wants to use something like your location or camera, the browser shows a small pop-up asking you to allow or deny it. In this bug, that pop-up came from a different tab than the one you were looking at, so it appeared on top of the wrong page. A malicious site could use this to make you think the page you trust is asking for permission, when really the attacker's site is.
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.