Skip to content
UI spoofing Disclosed report Intermediate CVE-2023-37455

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.

lmarceau Follow

Originally disclosed on Mozilla

  • 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

The original report as published on Mozilla's Bugzilla, by lmarceau. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

  1. Host the proof-of-concept page on an HTTPS server.
  2. Open the page and click the link that opens a new tab.
  3. Wait about twenty seconds.
  4. 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.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.