Inappropriate implementation in UI (CVE-2024-8909)
Chrome on iOS lacked clickjacking protection, so a double tap on an attacker's page could trigger permission prompts for location, camera, or microphone. An attacker could trick a victim into granting these permissions.
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Security Bug
VULNERABILITY DETAILS
Using a simple double tap from a victim, an attacker’s site can enable security permissions like location, camera, or microphone permissions from the victim.
Similar to Chrome for Android and desktop, the iOS version of Chrome should also enable clickjacking protection (such as a delay between consecutive clicks) to protect users from such attacks.
VERSION
Chrome Version: 125.0.6422.51
Operating System: iOS 17.5
REPRODUCTION CASE
- Download the proof of concept file below: poc.html.
- Open this file on an iOS device or visit https://test-ece44.web.app/ios/poc.html for testing.
CREDIT INFORMATION
Reporter credit: Shaheen Fazim
What the report shows
The target is the user interface of Chrome on iOS, specifically how the browser handles rapid repeated taps on page content. The researcher, Shaheen Fazim, reports that a victim who performs a simple double tap on an attacker's page can have security permissions enabled on their behalf, naming location, camera and microphone as the permissions at risk.
The report frames this as a missing clickjacking protection. It notes that Chrome for Android and Chrome on desktop already have such protection, described in the report as a delay between consecutive clicks, and argues that the iOS version should have the same.
The environment recorded in the report is:
Chrome Version: 125.0.6422.51
Operating System: iOS 17.5
Reproduction is given as two steps:
- Download the proof of concept file below: poc.html.
- Open this file on an iOS device or visit https://test-ece44.web.app/ios/poc.html for testing.
The proof of concept file itself is not included in the text, so the exact markup and the permission prompts it triggers are not shown here. The report points to the poc.html file and a hosted copy at the URL above.
The platform records the outcome as a low severity issue, classified as an inappropriate implementation in the UI component, with a bounty of 1000.00 USD, disclosed on 2024-09-17 under CVE-2024-8909. The report text itself does not describe the fix.
Root cause
The report points to the absence of a clickjacking defence in Chrome on iOS. On Android and desktop, the browser introduces a delay between consecutive clicks, so a second synthetic or user-driven click arriving immediately after the first is not acted upon. The report does not identify the root cause beyond the absence of the clickjacking protection it describes.
Impact
An attacker who controls a page can use a double tap from the victim to enable security permissions such as location, camera or microphone. The report does not describe what the attacker does with the permission once granted, whether a prompt is shown, or whether any user confirmation is bypassed. The impact is therefore limited to what the report states: permissions the user did not intend to grant can be turned on through a gesture the user made for another purpose.
How this kind of bug works
Clickjacking in its classic form tricks a user into clicking a control they cannot see, usually by framing a target page and overlaying it with decoy content. The defence is to stop the page being framed, or to require a gesture that the attacker cannot forge.
A related class, sometimes called tapjacking or double-click jacking, does not need a frame. It relies on the timing of input events. The attacker's page reacts to the first tap by changing what sits under the pointer: moving a button, opening a prompt, or scrolling an element into place. The second tap of a rapid double tap then activates whatever is now there. Browsers mitigate this by ignoring clicks that arrive within a short window after a previous click, by requiring the element under the pointer to be stable across the gesture, or by refusing to treat the second event as a trusted activation for sensitive operations.
Mobile platforms add another layer: permission grants normally require a trusted user gesture and often a system-level dialog. When a browser's own UI or its gesture handling lets a page translate a double tap into an activation of a permission control, the platform guarantee is weakened. The general lesson is that any UI that changes in response to input must consider what a second, immediate input will hit.
How to test for it
Look for interfaces where a single tap changes the layout or reveals a control, and where a second tap in the same place would activate something sensitive. Permission prompts, file pickers, payment confirmations, account actions and any control that grants access are the interesting targets.
A practical method:
- Build a page where the element under the pointer changes between the first and second tap, for example by moving a button, expanding a panel, or scrolling content into view.
- Trigger the change on the first tap and observe what the second tap activates, using a real device where possible, since emulators often handle gesture timing differently.
- Repeat with varying intervals between taps to find the window in which the second tap is still honoured.
- Check whether the resulting action required a trusted gesture and whether the browser or platform inserted any delay.
A positive result is a sensitive action performed without a deliberate, separate user confirmation, reproducible on a clean profile. Common false positives are cases where the second tap only focuses an element without activating it, where a system dialog still requires explicit confirmation, or where the behaviour depends on accessibility settings or a modified device that a normal user would not have. Confirm on stock settings before reporting.
How it is fixed
The standard fixes are timing and stability checks on input. Browsers ignore clicks that arrive within a short interval after a previous click, require the element under the pointer to remain the same across the gesture, and treat only the first event of a rapid sequence as a trusted activation. Sensitive operations can additionally require a fresh, isolated gesture rather than one that follows immediately after another. On mobile, keeping permission grants behind a system dialog that cannot be reached by a page-driven tap is the backstop.
Hunting notes
This class tends to hide in browser and WebView UI, in embedded webviews inside mobile apps, and in any product where page content and native controls share a surface. Recon signals include custom gesture handling, in-app browsers, permission flows implemented in the app rather than the OS, and platforms where the same feature behaves differently from a sibling platform. Comparing behaviour across platforms is often the fastest way to spot a missing protection.
Keep the claim to what you can reproduce.
What happened, in plain words
Chrome is a web browser, and on an iPhone it runs on iOS, Apple's mobile operating system. Like any browser, Chrome asks the user for permission before a website can use sensitive things such as the phone's location, camera or microphone. A permission is simply a yes/no switch that the user controls.
Shaheen Fazim reported a problem in the part of Chrome that draws and handles the user interface (the buttons, prompts and other on-screen elements). The claim is that an attacker's website can get a victim to turn on security permissions, such as location, camera or microphone, with a simple double tap. A double tap is two quick taps in the same place, the gesture people use all the time to zoom or to open something.
The report describes this as a missing clickjacking protection. Clickjacking is a trick where a page makes you click something you did not mean to click, often because the page changes what is under your finger at the last moment. Chrome on Android and Chrome on desktop already have a defence, described in the report as a delay between consecutive clicks: the browser ignores a click that comes immediately after another one. The report argues that the iOS version should have the same protection.
The environment recorded in the report is:
Chrome Version: 125.0.6422.51
Operating System: iOS 17.5
A version number identifies one exact release of the software, and the operating system version identifies the phone software it ran on. Recording both matters because a bug can exist in one release and be fixed in the next, so anyone trying to reproduce it needs the same setup.
Reproduction is given as two steps:
- Download the proof of concept file below: poc.html.
- Open this file on an iOS device or visit https://test-ece44.web.app/ios/poc.html for testing.
A proof of concept (PoC) is a small, deliberately harmless demonstration that shows a bug is real. Here it is a single HTML file, the same kind of file that makes up any web page. The first step is to have that file on the device; the second is to open it, either locally or from the hosted copy at the URL above. Opening it is what triggers the behaviour the researcher wants to show.
The proof of concept file itself is not included in the text, so the exact markup and the permission prompts it triggers are not shown here. The report points to the poc.html file and a hosted copy at the URL above.
The platform records the outcome as a low severity issue, classified as an inappropriate implementation in the UI component, with a bounty of 1000.00 USD, disclosed on 2024-09-17 under CVE-2024-8909. A CVE is a public identifier given to a known vulnerability so that people can refer to it unambiguously. A bounty is a payment a vendor makes to a researcher who reports a valid bug. The report text itself does not describe the fix.
Root cause
The report points to the absence of a clickjacking defence in Chrome on iOS. On Android and desktop, the browser introduces a delay between consecutive clicks, so a second click arriving immediately after the first is not acted upon. The report does not identify the root cause beyond the absence of the clickjacking protection it describes.
A useful comparison is a lift door that closes slowly on purpose: it gives the person behind you time to step back. The delay between clicks works the same way, it gives the page a moment to settle so that a second tap cannot hit something that just appeared.
Impact
An attacker who controls a page can use a double tap from the victim to enable security permissions such as location, camera or microphone. The report does not describe what the attacker does with the permission once granted, whether a prompt is shown, or whether any user confirmation is bypassed. The impact is therefore limited to what the report states: permissions the user did not intend to grant can be turned on through a gesture the user made for another purpose.
In general, how this kind of bug works
Clickjacking in its classic form tricks a user into clicking a control they cannot see, usually by framing a target page and overlaying it with decoy content. Framing means loading one page inside another, like a picture inside a picture frame. The defence is to stop the page being framed, or to require a gesture that the attacker cannot forge.
A related class, sometimes called tapjacking or double-click jacking, does not need a frame. It relies on the timing of input events. An input event is simply the browser's record that the user touched, clicked or typed something. The attacker's page reacts to the first tap by changing what sits under the pointer: moving a button, opening a prompt, or scrolling an element into place. The second tap of a rapid double tap then activates whatever is now there. Browsers mitigate this by ignoring clicks that arrive within a short window after a previous click, by requiring the element under the pointer to be stable across the gesture, or by refusing to treat the second event as a trusted activation for sensitive operations. A trusted activation means the browser is confident the user really meant to press that control.
Mobile platforms add another layer: permission grants normally require a trusted user gesture and often a system-level dialog. A dialog is a box that appears on top of everything and waits for an answer. When a browser's own interface or its gesture handling lets a page translate a double tap into an activation of a permission control, the platform guarantee is weakened. The general lesson is that any interface that changes in response to input must consider what a second, immediate input will hit.
In general, how to test for it
Look for interfaces where a single tap changes the layout or reveals a control, and where a second tap in the same place would activate something sensitive. Permission prompts, file pickers, payment confirmations, account actions and any control that grants access are the interesting targets.
A practical method:
- Build a page where the element under the pointer changes between the first and second tap, for example by moving a button, expanding a panel, or scrolling content into view.
- Trigger the change on the first tap and observe what the second tap activates, using a real device where possible, since emulators often handle gesture timing differently. An emulator is software that imitates a phone on a computer.
- Repeat with varying intervals between taps to find the window in which the second tap is still honoured.
- Check whether the resulting action required a trusted gesture and whether the browser or platform inserted any delay.
A positive result is a sensitive action performed without a deliberate, separate user confirmation, reproducible on a clean profile. A clean profile is a fresh browser setup with no extensions or changed settings. Common false positives are cases where the second tap only focuses an element without activating it, where a system dialog still requires explicit confirmation, or where the behaviour depends on accessibility settings or a modified device that a normal user would not have. Confirm on stock settings before reporting. Stock settings means the phone as it came out of the box.
In general, how it is fixed
The standard fixes are timing and stability checks on input. Browsers ignore clicks that arrive within a short interval after a previous click, require the element under the pointer to remain the same across the gesture, and treat only the first event of a rapid sequence as a trusted activation. Sensitive operations can additionally require a fresh, isolated gesture rather than one that follows immediately after another. On mobile, keeping permission grants behind a system dialog that cannot be reached by a page-driven tap is the backstop.
In general, where to look
This class tends to hide in browser and WebView interface code, in embedded webviews inside mobile apps, and in any product where page content and native controls share a surface. A WebView is a mini browser built into another app. Recon signals include custom gesture handling, in-app browsers, permission flows implemented in the app rather than the operating system, and platforms where the same feature behaves differently from a sibling platform. Comparing behaviour across platforms is often the fastest way to spot a missing protection.
Keep the claim to what you can reproduce.
Glossary
- Browser: software that fetches and displays web pages.
- iOS: Apple's operating system for iPhone.
- Permission: a yes/no switch that lets a site use something sensitive, such as location, camera or microphone.
- User interface (UI): the parts of an app the user sees and touches, such as buttons and prompts.
- Double tap: two quick taps in the same place.
- Clickjacking: tricking a user into clicking something they did not intend to click.
- Tapjacking / double-click jacking: clickjacking that relies on the timing of taps rather than on hidden frames.
- Proof of concept (PoC): a small demonstration that proves a bug is real.
- HTML: the language that describes the structure of a web page.
- CVE: a public identifier for a known vulnerability.
- Bounty: a payment from a vendor to a researcher for a valid bug report.
- Severity: a rating of how serious a bug is.
- Input event: the browser's record that the user touched, clicked or typed something.
- Trusted activation: an action the browser is confident the user really meant to perform.
- Dialog: a box that appears on top of everything and waits for an answer.
- Emulator: software that imitates a phone on a computer.
- Clean profile: a fresh browser setup with no extensions or changed settings.
- Stock settings: the device as it came out of the box.
- WebView: a mini browser built into another app.
- Recon: the early stage of research where you look for clues about where a bug might be.