Side-channel information leakage in Navigation and Loading (CVE-2025-13992)
A renderer-process callback invoked on redirects exposed the full redirect URL and some response headers to renderer code. An attacker who could run script in the renderer could read redirect URLs that carry secrets such as OAuth authorisation codes or Google service tokens.
Originally disclosed on Chrome VRP
- Fix shipped in 6.1 years
When a redirect happens when loading resources, the following function gets called in the renderer process via a mojo callback: https://cs.chromium.org/chromium/src/content/common/throttling_url_loader.cc?l=547&rcl=148c4ab91ab47341c2532adc3dbce87ad65e5550 so the renderer process gets the full redirect URL as well as response headers (though apparently not all of them, e.g. I don't see 'Set-Cookie' header)
Leaking a redirect URL is potentially interesting for attackers, e.g.
- IIRC Oauth2 is going to set authorization code via a redirect
- Some google properties (unrelated to Oauth2) also set secrets via redirect URLs, for example https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1<mpl=default<mplcache=2&emr=1&osid=1. IIRC this is used to set osid cookie on mail.google.com
To reproduce
-
set a breakpoint or modify ResourceDispatcher::OnReceivedRedirect to print out received redirect url / headers
-
load while logged into gmail
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 redirect notification passed the complete redirect URL and response headers to the renderer process, which does not need them and can be influenced by attacker-controlled content.
Impact
Redirect URLs carrying OAuth authorisation codes or service tokens could be exposed to renderer code, though the report notes that not all headers, such as the cookie-setting one, were included.
What the attacker needed
Ability to run code in the renderer; victim logged into a service using redirects
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 a web page loads something and the server says 'look elsewhere' (a redirect), the browser's rendering part is told the new address. Here that part was also handed the full address and some of the server's reply headers, which it did not strictly need. If an attacker can run their own code in that rendering part, they may be able to read those addresses, which sometimes contain secret tokens.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.