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.
Originally disclosed on Chrome VRP
- Fix shipped in 51 days
Steps to reproduce the problem:
- Open iOS Chrome and go to - https://noirpoc.000webhostapp.com/poc.html
- Click on the button available on webpage
- Next, apple.com will be opened in a new window
- Try to interact with the webpage apple.com like clicking anything or scrolling
- 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
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
- Open iOS Chrome and navigate to the proof-of-concept page.
- Click the button on the page.
- A new window opens apple.com.
- Interact with the apple.com page by scrolling or clicking.
- 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.