UI misrepresentation in Chromoting (CVE-2026-95346)
The Chrome Remote Desktop host's 'Stop Sharing' dialog can be dragged off-screen by an authenticated remote client, hiding the local user's security indicator and disconnect button. This occurs because the dialog is draggable and the host does not clamp its position, and injected remote input is ignored by the re-centering logic.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: Authenticated remote clients can hide the 'Stop Sharing' dialog by dragging it off-screen, suppressing the local user's primary security indicator and disconnect button. This occurs across Windows, macOS, and Linux because the host application lacks window position clamping and allows remote users to interact with the dialog's draggable surfaces.
Affected files:
remoting/host/disconnect_window_win.ccremoting/host/win/core.rc.jinja2remoting/host/input_injector_win.ccremoting/host/it2me_desktop_environment.ccremoting/host/me2me_desktop_environment.ccremoting/host/input_monitor/local_mouse_input_monitor_win.ccremoting/host/disconnect_window_mac.mmremoting/host/disconnect_window_linux.cc
Estimated timestamp from git blame: 2011-10-24
The Chrome Remote Desktop (CRD) host displays a 'Stop Sharing' dialog to satisfy a critical security requirement: notifying the local user that their desktop is being accessed remotely and providing a persistent, one-click mechanism to terminate the session. A defense-in-depth hardening gap allows an authenticated remote client to move this dialog outside the visible screen area, effectively hiding it.
Technical Analysis
On Windows, the disconnect dialog is a borderless WS_POPUP window. Its message handler in remoting/host/disconnect_window_win.cc responds to WM_NCHITTEST by returning HTCAPTION (line 286), which treats the entire dialog surface as a draggable title bar. While the host uses LocalMouseInputMonitorWin to detect local activity and re-center the window, it explicitly ignores injected input (events with a null hDevice handle, as seen in remoting/host/input_monitor/local_mouse_input_monitor_win.cc line 58). This allows a remote attacker to initiate a system move loop and drag the window off-screen without triggering the 'local input' re-centering logic.
Furthermore, in Me2Me (personal access) sessions, the dialog uses an internal flag local_input_seen_ to manage positioning. Once any genuine local input is detected, this flag is set to true. Subsequent calls to ShowDialog()—which occur after the window auto-hides—will skip the re-centering logic if this flag is set (remoting/host/disconnect_window_win.cc line 370). Consequently, if an attacker drags the window off-screen after the flag is set, it will remain hidden indefinitely.
Similar behavior is reproducible on other platforms:
- macOS: The window is draggable because
movableByWindowBackgroundis set toYESinremoting/host/disconnect_window_mac.mm(line 240). - Linux: The window can be moved via
gtk_window_begin_move_draginremoting/host/disconnect_window_linux.cc(line 324).
Potential Reproduction Steps
- Establish a Chrome Remote Desktop session with a Windows host.
- From the remote client, perform a mouse-down event on the 'Stop Sharing' dialog surface.
- Drag the cursor to the far corner of the virtual screen (e.g., coordinate 0,0).
- Release the mouse button.
- Observe that the dialog remains at the off-screen position, removing the visible indicator and the disconnect button for the local user.
Suggested Fix
- Window Clamping: Implement handlers for window movement events (e.g.,
WM_WINDOWPOSCHANGINGon Windows) to clamp the dialog position within the work area of the current monitor. - Restrict Draggability: Disable the ability to drag the window by its background. If draggability is required, it should be limited to a specific, small handle that is less likely to be exploited by remote input.
- Forced Re-centering: Modify the
ShowDialog()logic to verify that the window is within the visible work area before displaying it. If the window is off-screen, it should be re-centered regardless of the state of thelocal_input_seen_flag.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 dialog window is draggable by its entire surface and the host does not clamp its position to the visible screen area, while injected remote input is ignored by the re-centering logic.
Impact
An authenticated remote client could hide the local user's primary security indicator and disconnect button, making it harder for the local user to notice or stop the session.
What the attacker needed
Authenticated remote client; Chrome Remote Desktop session
The fix
The dialog position should be clamped to the visible work area, draggability should be restricted to a small handle, and the dialog should be re-centered if off-screen regardless of prior local input.
How it was found
- Establish a Chrome Remote Desktop session with a Windows host.
- From the remote client, perform a mouse-down event on the 'Stop Sharing' dialog surface.
- Drag the cursor to the far corner of the virtual screen.
- Release the mouse button.
- Observe that the dialog remains at the off-screen position.
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 someone connects to your computer remotely, a small window should always be visible to remind you and let you stop the session. This report shows that the person connecting can move that window completely off the screen, so you might not realise you are being watched or have an easy way to disconnect.
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.