Insufficient validation of untrusted input in Network (CVE-2026-7947)
A compromised renderer can send an unsolicited FollowRedirect IPC to SubresourceProxyingURLLoader before any network redirect occurs, causing a CHECK failure in AdAuctionURLLoaderInterceptor that crashes the browser. By racing this IPC with a legitimate network response, an attacker can also poison the origin in BrowsingTopicsURLLoaderInterceptor to record fraudulent Topics API observations.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 42 days
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A compromised renderer can send an unsolicited FollowRedirect IPC to SubresourceProxyingURLLoader before any network redirect actually occurs. This lack of state validation allows the renderer to trigger a deterministic CHECK failure in AdAuctionURLLoaderInterceptor, crashing the browser. Additionally, by racing this IPC with a legitimate network response, an attacker can poison the origin in BrowsingTopicsURLLoaderInterceptor to record fraudulent Topics API observations.
Affected files:
content/browser/loader/subresource_proxying_url_loader.cccontent/browser/browsing_topics/browsing_topics_url_loader_interceptor.cccontent/browser/interest_group/ad_auction_url_loader_interceptor.cc
Estimated timestamp from git blame: 2023-05-17
Note: This vulnerability was discovered via static analysis by an AI agent. The steps below are theoretical and suggest how an attacker might exploit the issue, as a working Proof of Concept has not yet been executed.
Root Cause
The SubresourceProxyingURLLoader acts as a proxy between the renderer and the Network Service to intercept subresource requests for features like Ad Auctions and Browsing Topics.
When a renderer calls FollowRedirect on its URLLoader Mojo remote, SubresourceProxyingURLLoader::FollowRedirect unconditionally iterates over its interceptors and calls interceptor->WillFollowRedirect(...). Crucially, it never validates whether the underlying network request actually issued a redirect (e.g., by tracking if OnReceiveRedirect was called first). This allows a compromised renderer to arbitrarily invoke WillFollowRedirect at any point in the loader's lifecycle.
Impact 1: Deterministic Browser Process Crash (DoS)
In AdAuctionURLLoaderInterceptor, the ad_auction_headers_eligible_ flag is set to true in WillStartRequest. The code assumes OnReceiveRedirect will safely clear this flag before WillFollowRedirect is ever called.
Because the renderer can invoke FollowRedirect out-of-order, it reaches AdAuctionURLLoaderInterceptor::WillFollowRedirect while the flag is still true. This hits CHECK(!ad_auction_headers_eligible_) at content/browser/interest_group/ad_auction_url_loader_interceptor.cc:73, immediately crashing the browser process.
Impact 2: Browsing Topics Origin Poisoning
In BrowsingTopicsURLLoaderInterceptor, WillFollowRedirect updates its internal url_ state to the attacker-supplied new_url.
Because the renderer's URLLoader Mojo pipe and the Network Service's URLLoaderClient Mojo pipe are independent, an attacker can race an unsolicited FollowRedirect IPC against a legitimate OnReceiveResponse IPC from their own server. If the browser processes the FollowRedirect (poisoning url_ to a victim's origin) just before the OnReceiveResponse (containing Observe-Browsing-Topics: ?1), the browser will erroneously attribute the Topics observation to the victim's origin instead of the attacker's.
Potential Attacker Steps
To trigger the DoS:
- Compromise a renderer process.
- Initiate a subresource fetch with
adAuctionHeaders: true. - Immediately send a
FollowRedirectMojo IPC on the returnedURLLoaderremote. - The browser process hits the
CHECKand crashes.
To trigger Origin Poisoning:
- Compromise a renderer process.
- Initiate a subresource fetch with
browsing_topics: trueto an attacker-controlled server. - The attacker's server responds with
Observe-Browsing-Topics: ?1. - The compromised renderer sends an unsolicited
FollowRedirectIPC withnew_urlset tohttps://victim.com, timed to arrive at the browser process just before the Network Service'sOnReceiveResponseIPC. - The browser processes
FollowRedirect, updating the interceptor'surl_tohttps://victim.com. - The browser processes
OnReceiveResponseand records the Topics observation forhttps://victim.com.
Suggested Fix
SubresourceProxyingURLLoader should track whether a redirect is currently pending.
- Add a
bool redirect_pending_ = false;member toSubresourceProxyingURLLoader. - Set
redirect_pending_ = true;insideSubresourceProxyingURLLoader::OnReceiveRedirect. - Inside
SubresourceProxyingURLLoader::FollowRedirect, verify thatredirect_pending_istrue. If it isfalse, terminate the request, do not forward the call to interceptors, and optionally callmojo::ReportBadMessage("Unexpected FollowRedirect")to kill the misbehaving renderer. - Reset
redirect_pending_ = false;after successfully processing a validFollowRedirect.
Evaluated with Chrome root at commit: bb48272cafb7e24c93f55ef40da398cd206ee651
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, SubresourceProxyingURLLoader::FollowRedirect does not verify that a redirect was actually received before forwarding the call to interceptors, allowing a compromised renderer to invoke WillFollowRedirect out of order.
Impact
A compromised renderer can crash the browser process, and by racing the IPC with a legitimate response it could poison the origin in Browsing Topics to record fraudulent observations; the text notes the steps are theoretical and no working proof of concept has been executed.
What the attacker needed
Compromised renderer process; ability to send Mojo IPC
The fix
SubresourceProxyingURLLoader should track whether a redirect is pending and reject FollowRedirect calls when no redirect is pending, optionally reporting a bad message to kill the misbehaving renderer.
How it was found
- Compromise a renderer process.
- Initiate a subresource fetch with adAuctionHeaders: true.
- Immediately send a FollowRedirect Mojo IPC on the returned URLLoader remote.
- The browser process hits the CHECK and crashes.
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 splits its work into processes: a renderer process handles web pages, and a browser process controls the network. The renderer can ask the browser to follow a redirect, but here the browser does not check whether a redirect was actually received first. A malicious renderer can therefore send a fake redirect request, which crashes the browser or tricks it into recording browsing-topic data for the wrong website.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.