Inappropriate implementation in Permissions (CVE-2024-9962)
A page can open a Picture-in-Picture window that covers the permission prompt, so a user who follows key instructions may approve a permission without realising it. An attacker could thus obtain permissions such as camera access without the user's awareness.
Originally disclosed on Chrome VRP
- Fix shipped in 42 days
SUMMARY
The Permission prompt can be obscured by a Picture-in-Picture (PiP) window for video or documents, potentially allowing a page to obtain permissions without user awareness.
Current address bar permission prompts do check for PiP window occlusion. This issue is very similar to issue 342194497, with the key difference being that final approval of the permission dialogue requires pressing Enter twice. Since the prompt behind the PiP window is protected, the user is led to press Enter twice—first to close the PiP window and then to approve the permission. Therefore, Chrome should implement a delay here to mitigate this issue.
To minimize user interaction, a compromised renderer can open the PiP window, as seen in issue 338398040.
VULNERABILITY DETAILS
A page can display a Video or Document PiP window over a normal window with a permission prompt, obscuring the prompt and unknowingly allowing it when the user interacts with the webpage.
An attacker can instruct the user to press keys while the permission prompt is obscured. For example, pressing Tab three times followed by Enter twice can result in the user granting permissions without their awareness.
VERSION
- Chrome Version: 130.0.6697.0 (Official Build) Canary (64-bit), 128.0.6613.120 (Official Build) (64-bit) Stable
- Operating System: Windows 11
REPRODUCTION CASE
Note: The Proof of Concept (PoC) uses Document PiP, but this also works with Video PiP.
Prerequisites: None required.
- Download the attachment
poc.htmlandpermission.htmlfiles. - Host the page on a local server or open
poc.htmldirectly from the same folder. - Visit the webpage using the latest Chrome browser.
- Click "Verify" and then "Start," press Tab three times, and confirm.
- Press Enter twice and observe that the camera permission is unknowingly approved without the user's awareness.
Observed: The attacker can obtain permissions without the user’s awareness.
Expected: The attacker should not be able to obtain permissions without the user’s awareness.
CREDIT INFORMATION
Reporter credit: Shaheen Fazim
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 the permission prompt does not check whether a Picture-in-Picture window is covering it, unlike the address bar permission prompts which do check for such occlusion.
Impact
An attacker could obtain permissions, such as camera access, without the user's awareness, though the user must follow specific key presses.
What the attacker needed
Victim follows key press instructions; Chrome browser
The fix
Chrome should implement a delay to mitigate this issue, as suggested by the reporter.
How it was found
- Download the provided proof-of-concept files.
- Host the page on a local server or open the main file directly from the same folder.
- Visit the webpage using the latest Chrome browser.
- Click 'Verify' and then 'Start', press Tab three times, and confirm.
- Press Enter twice and observe that the camera permission is unknowingly approved.
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 asks for permission to use your camera or microphone, Chrome shows a small prompt. This report shows that another window, a Picture-in-Picture video window, can be placed on top of that prompt so you cannot see it. If someone tells you to press certain keys, you might approve the permission without knowing.
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.