Skip to content
UI spoofing Advisory Intermediate CVE-2024-2631

Inappropriate implementation in iOS (CVE-2024-2631)

A flaw in Chrome on iOS allowed an external protocol confirmation dialog to appear over a different origin (apple.com) after a user interacted with that page. An attacker could use this to confuse users into thinking the prompt came from the trusted site.

Ramit Gangwar Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Low View original
  • Fix shipped in 51 days

Steps to reproduce the problem:

  1. Open iOS Chrome and go to - https://noirpoc.000webhostapp.com/poc.html
  2. Click on the button available on webpage
  3. Next, apple.com will be opened in a new window
  4. Try to interact with the webpage apple.com like clicking anything or scrolling
  5. After few seconds, notice that the prompt to open external app will be triggered over apple.com

Problem Description:
Chrome browser shows External protocol confirmation dialog box on different origin which might confuse. In previous patched https://crbug.com/chromium/1443722 the fix works fine, chrome changes the tab to the original webpage which has requested to open the external apps but I noticed that if user’s click on the button from attacker’s page and in a new window of apple.com user’s interacts with the webpage to scroll or click something then the exploit works which results in showing the External protocol dialog box over different origins.

Additional Comments:
The issue works only if the user interacts with the webpage of newly opened window, like scrolling or clicking anything on the newly opened window.

**Chrome version: ** 121.0.6167.66 **Channel: ** Stable

OS: iOS

The original report as published on the Chromium issue tracker, by Ramit Gangwar. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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 a failure to properly associate the external protocol dialog with the originating tab when the user interacts with a newly opened window.

Impact

An attacker could confuse users into believing the external protocol prompt originated from a trusted site, potentially leading them to allow an unintended action.

What the attacker needed

Victim uses Chrome on iOS; victim clicks a button on attacker's page; victim interacts with the new window

How it was found

  1. Open iOS Chrome and navigate to the proof-of-concept page.
  2. Click the button on the page.
  3. A new window opens apple.com.
  4. Interact with the apple.com page by scrolling or clicking.
  5. After a few seconds, the external app prompt appears over apple.com.

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 tries to open an app on your phone, Chrome shows a pop-up asking for permission. This report found that if you first click a button on a malicious page, then scroll or click on a different page that opens, the pop-up can appear on top of that second page, making it look like the trusted site is asking. That could trick you into allowing something you didn't intend.

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 Google Chrome

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.