Insufficient validation of untrusted input in FoldableAPIs (CVE-2026-11233)
The DevicePostureProvider Mojo interface lacks authorization checks for its DevTools emulation methods, allowing a compromised renderer to spoof device posture for all frames in a tab and block legitimate posture updates. This enables cross-origin state injection and a tab-scoped denial of service.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The DevicePostureProvider Mojo interface lacks authorization checks for its DevTools emulation methods. A compromised renderer can spoof the device posture for all frames in a WebContents and block legitimate platform posture updates.
Affected files:
content/browser/device_posture/device_posture_provider_impl.cccontent/browser/browser_interface_binders.ccthird_party/blink/public/mojom/device_posture/device_posture_provider.mojom
Estimated timestamp from git blame: 2025-11-25
Summary
The DevicePostureProvider Mojo interface exposes methods intended for DevTools emulation: OverrideDevicePostureForEmulation and DisableDevicePostureOverrideForEmulation. However, the implementation in the browser process (DevicePostureProviderImpl) lacks any authorization checks. Because this provider is shared across the entire WebContents (tab), a compromised renderer (e.g., in a cross-origin iframe) can call these methods to spoof the device posture for the top-level page and all other frames in the tab. This allows a cross-origin state injection and a tab-scoped Denial of Service (DoS) against the Device Posture API.
Potential Root Cause
- Missing Authorization: In
content/browser/device_posture/device_posture_provider_impl.cc, theOverrideDevicePostureForEmulationmethod accepts a posture type and unconditionally sets an internalis_posture_emulated_flag. It does not check if the caller is privileged (e.g., DevTools) or if the request came from a potentially compromised renderer. - Shared State (WebContents Scope):
DevicePostureProviderImplinherits fromWebContentsUserData<DevicePostureProviderImpl>. This means there is only one instance of this provider per tab, shared among all frames (including cross-origin iframes). - Unconditional Binding: The interface is bound in
content/browser/browser_interface_binders.ccwithinPopulateBinderMapWithContext<RenderFrameHostImpl*>, making it accessible to any frame via theBrowserInterfaceBroker.
Suggested Attacker Steps
(Note: These are potential steps as a working Proof of Concept has not yet been developed and run by our setup.)
- Compromise Renderer: An attacker exploits a vulnerability to gain code execution in a renderer process, potentially one hosting a cross-origin iframe (
attacker.com). - Bind Interface: The compromised renderer uses the
BrowserInterfaceBrokerto request a binding to theblink::mojom::DevicePostureProviderMojo interface. - Trigger Emulation: The attacker sends an IPC message calling
OverrideDevicePostureForEmulation(blink::mojom::DevicePostureType::kFolded)over their bound interface. - State Injection: The browser process unconditionally sets
is_posture_emulated_ = trueand broadcasts the spoofedkFoldedposture to all connectedDevicePostureClientobjects in theWebContents, including the top-level victim document. - Achieve DoS: When the physical device's posture actually changes (e.g., the user unfolds their phone), the platform provider calls
DevicePostureProviderImpl::OnDevicePostureChanged. Becauseis_posture_emulated_is true, the method early-returns and drops the legitimate update. All frames in the tab are now permanently stuck reflecting the attacker's spoofed posture.
Suggested Fix
Separate the DevTools emulation methods from the DevicePostureProvider interface into a distinct, privileged Mojo interface (e.g., DevicePostureEmulationProvider) that is only accessible to trusted DevTools clients. Alternatively, implement robust authorization checks within DevicePostureProviderImpl::OverrideDevicePostureForEmulation to ensure the caller has the appropriate permissions to emulate device state.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. Please feel free to reach out to me if you have concerns or feedback.
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 DevTools emulation methods on a shared, per-tab Mojo interface were exposed without any check that the caller is privileged.
Impact
A compromised renderer could spoof device posture across all frames in a tab and cause a tab-scoped denial of service by blocking real posture updates; the report notes no working proof of concept has been developed.
What the attacker needed
Compromised renderer process; ability to send Mojo IPC messages
The fix
The DevTools emulation methods should be moved to a separate privileged interface or protected by authorization checks.
How it was found
- Compromise a renderer process, potentially one hosting a cross-origin iframe.
- Request a binding to the DevicePostureProvider Mojo interface via the BrowserInterfaceBroker.
- Send an IPC message calling OverrideDevicePostureForEmulation with a folded posture.
- The browser sets the emulation flag and broadcasts the spoofed posture to all frames in the tab.
- When the physical posture changes, the legitimate update is dropped because emulation is active, leaving frames stuck.
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.
A web browser uses internal messaging (Mojo) to let different parts talk. A security check was missing, so a malicious webpage that already broke out of its sandbox could tell the browser to pretend the device is folded, and then real updates are ignored. This only matters if the attacker already has code execution in the browser's rendering process.
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.