Skip to content
CSRF Advisory Advanced CVE-2026-8009

Inappropriate implementation in Cast (CVE-2026-8009)

A compromised renderer can send a crafted IPC message to start a presentation to a local HTTP URL, bypassing Private Network Access checks. If the user selects a Wired Display, the browser performs a browser-initiated navigation to that URL, enabling stateless CSRF against local network devices.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 41 days

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A compromised renderer can bypass Private Network Access (PNA) checks by initiating a Presentation API request to a local HTTP URL. If a user selects a Wired Display in the resulting Cast dialog, the browser performs a browser-initiated navigation to the target, bypassing PNA and enabling stateless CSRF against local network devices.

Affected files:

  • components/media_router/common/media_source.cc
  • chrome/browser/ui/media_router/presentation_receiver_window_controller.cc
  • content/browser/presentation/presentation_service_impl.cc
  • components/media_router/browser/presentation/controller_presentation_service_delegate_impl.cc
  • chrome/browser/media/router/providers/wired_display/wired_display_media_route_provider.cc
  • components/media_router/browser/presentation/presentation_navigation_policy.cc
  • chrome/browser/ui/media_router/media_route_starter.cc

Estimated timestamp from git blame: 2017-12-16

Vulnerability Overview

A potential vulnerability exists in the Presentation API's Wired Display feature where a compromised renderer can bypass Private Network Access (PNA) restrictions. By crafting a malicious StartPresentation IPC message, an attacker can force the browser process to execute a browser-initiated GET request to an arbitrary local network IP address, enabling stateless Cross-Site Request Forgery (CSRF) against local devices (e.g., routers or IoT devices).

Potential Attack Steps

Note: The following steps are theoretical as our setup does not currently have the ability to run code to produce a working Proof of Concept.

  1. Renderer Compromise: An attacker exploits a separate vulnerability to gain code execution within a sandboxed renderer process.
  2. IPC Spoofing: The attacker directly sends a blink.mojom.PresentationService.StartPresentation Mojo IPC message to the browser. This bypasses renderer-side Blink checks (such as [SecureContext], Mixed Content restrictions, and User Activation requirements).
  3. Malicious URL Payload: In the IPC message, the attacker specifies a local network target in the presentation_urls field (e.g., http://192.168.1.1/admin/reboot?foo=bar).
  4. Browser-Side Validation Bypass: The browser receives the request in PresentationServiceImpl. The URL is validated against media_router::IsValidPresentationUrl, which explicitly allows the http:// scheme without checking for private/local IP addresses.
  5. Deceptive UI: The Cast dialog is presented to the user. It displays the origin of the requesting frame but hides the malicious destination URL.
  6. User Interaction: The user, believing the request is benign, selects a "Wired Display" (a connected secondary monitor) from the dialog.
  7. Browser-Initiated Navigation: WiredDisplayMediaRouteProvider creates a PresentationReceiverWindowController. To load the presentation, it calls LoadURLWithParams on a new Off-The-Record WebContents.
  8. PNA Bypass: Crucially, the content::NavigationController::LoadURLParams object defaults is_renderer_initiated to false. The network service treats this as a highly trusted browser-initiated navigation. Because there is no initiator ClientSecurityState attached, PNA checks are completely bypassed, and the HTTP GET request to the local network device is executed.

Impact

An attacker with a compromised renderer can perform stateless CSRF attacks (triggering state-changing GET requests) against devices on the victim's local network. This bypasses the typical PNA protections designed to prevent external origins from reaching internal network addresses.

Suggested Fix

There are two primary ways to fix this issue:

  1. Propagate Initiator State: In PresentationReceiverWindowController::Start (and any other presentation controllers), explicitly set is_renderer_initiated = true on the LoadURLParams struct. Furthermore, ensure the initiator_origin and the appropriate ClientSecurityState are passed along from the original PresentationRequest so that the network service can enforce PNA checks correctly.
  2. Strict URL Validation: Update media_router::IsValidPresentationUrl or ControllerPresentationServiceDelegateImpl::StartPresentation to explicitly reject private/local IP addresses or localhost URLs unless the request originates from a securely contextualized, authenticated, or similarly privileged local source.

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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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 browser-initiated navigation used to load the presentation does not carry the original initiator's security state, so Private Network Access checks are skipped.

Impact

An attacker with a compromised renderer could perform stateless CSRF attacks against local network devices, bypassing PNA protections.

What the attacker needed

Compromised renderer; user selects Wired Display

The fix

The issue should be fixed by propagating the initiator's security state to the navigation or by rejecting private/local IP addresses in presentation URLs.

How it was found

  1. Compromise a renderer process to gain code execution.
  2. Send a crafted StartPresentation IPC message to the browser.
  3. Include a local network URL in the presentation_urls field.
  4. The browser validates the URL but allows http:// without checking for private IPs.
  5. The user selects a Wired Display from the Cast dialog.
  6. The browser performs a browser-initiated navigation to the local URL, bypassing PNA.

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 page runs in a restricted part of the browser called a renderer. If an attacker can break out of that restriction, they can send fake instructions to the browser's core. This report shows that one such instruction could make the browser visit a device on your home network, like a router, without the usual safety checks.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.