Incorrect authorization in Chromoting (CVE-2026-84334)
Chrome Remote Desktop on Windows validates a Mojo caller by checking the Authenticode signature of the caller's on-disk executable rather than the code actually running in memory. A local unprivileged attacker could spawn an allowed binary suspended, inject code, and connect to the LocalSystem named pipe, potentially gaining local privilege escalation.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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: Chrome Remote Desktop on Windows contains a potential security bypass where Mojo endpoint validation verifies the signature of a caller's on-disk binary rather than its executing memory. A local unprivileged attacker could spawn an allowed binary in a suspended state, inject code, and connect to the LocalSystem named pipe. The service accepts the hollowed process as a trusted Mojo peer, enabling potential local privilege escalation.
Affected files:
remoting/host/mojo_caller_security_checker.ccremoting/host/win/trust_util.ccremoting/host/base/process_util.cccomponents/named_mojo_ipc_server/named_mojo_message_pipe_server.ccremoting/host/chromoting_host_services_server.cc
Estimated timestamp from git blame: 2022-02-25
Summary
A potential security bypass and local privilege escalation vulnerability exists in Chrome Remote Desktop for Windows. The validation mechanism in IsTrustedMojoEndpoint verifies the Authenticode signature of the caller's on-disk binary rather than the running code executing inside the process memory space. This allows a local, non-privileged attacker to spawn an allowed binary in a suspended state, inject arbitrary code, and connect to the LocalSystem daemon's named pipe. Consequently, the injected process is accepted as a fully-trusted Mojo peer of the LocalSystem broker.
Affected Code Paths
- Named Pipe Setup:
ChromotingHostServicesServer[remoting/host/chromoting_host_services_server.cc] exposes the named pipe\\.\pipe\chromoting.host_services_mojo_ipcwith a DACL ofD:(A;;GA;;;AU)(all Authenticated Users can connect). - Caller Identity Query: When a client connects, the service queries the client's PID and opens a process handle with
PROCESS_QUERY_LIMITED_INFORMATIONaccess. - Path and Signature Verification:
IsTrustedMojoEndpoint[remoting/host/mojo_caller_security_checker.cc] queries the process image path viaQueryFullProcessImageNameand verifies the cryptographic signature withIsBinaryTrusted[remoting/host/win/trust_util.cc].
The Security Flaw
The verification mechanism relies on:
QueryFullProcessImageNameto resolve the client's path. However, the Windows kernel resolves this to the original executable image that was loaded into the section object during process creation. If the process is subsequently hollowed or injected with code, the returned path remains unchanged.WinVerifyTrustcalled withdwUnionChoice = WTD_CHOICE_FILE. This validates the signature of the file resting on disk rather than the actual code executing in memory.
Potential Attack Steps
An attacker could theoretically follow these steps to trigger the bypass:
- Launch one of the allowed binaries (e.g.,
remote_open_url.exe) in a suspended state (CREATE_SUSPENDED). - Write a malicious payload into the process memory using standard injection APIs (e.g.,
VirtualAllocEx/WriteProcessMemory). - Resume the thread, allowing the payload to execute and connect to
\\.\pipe\chromoting.host_services_mojo_ipc. - The service resolves the client's process path to the legitimate executable and confirms its signature on disk. The connection is accepted as a trusted, non-isolated Mojo peer.
Note: Since our testing tools do not have execution capability, these steps represent a potential attack path based on static code analysis and Windows API behaviors.
Suggested Remediation
To fix this issue, Chrome Remote Desktop should avoid relying on on-disk signature validation of client processes. Potential remedies include:
- Mojo Isolation: Restrict the Mojo connection by setting the client invitation as isolated or untrusted (using
MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS). This prevents a compromised client process from gaining control over the Mojo broker channel and performing privilege escalation. - Access Control Tokens: Rather than relying solely on signature verification of the executable, utilize operating-system-level sandbox, AppContainer, or explicit user SID checks on the client process token to restrict access to the host services pipe.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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
The trust check uses the on-disk image path and file signature instead of verifying the actual executing memory, so process hollowing or code injection leaves the check passing.
Impact
A local unprivileged attacker could potentially escalate privileges to LocalSystem by being accepted as a trusted Mojo peer; the report notes the steps are theoretical and based on static analysis, not execution.
What the attacker needed
Local access to the Windows machine; unprivileged user account; ability to launch a signed allowed binary
The fix
The report suggests restricting the Mojo connection as untrusted or using OS-level sandbox, AppContainer, or user SID checks instead of relying on on-disk signature validation; it does not say the issue was fixed.
How it was found
- Launch an allowed binary in a suspended state.
- Write a malicious payload into the process memory using standard injection APIs.
- Resume the thread so the payload connects to the named pipe.
- The service resolves the legitimate path and on-disk signature and accepts the connection as a trusted Mojo peer.
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.
Chrome Remote Desktop runs a privileged background service on Windows. To decide whether another program is allowed to talk to it, the service checks the digital signature of that program's file on disk. But an attacker can start a signed program, pause it before it runs, and replace its code in memory; the file on disk still looks signed, so the service trusts the attacker's code.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.