Server-side redirects to data: URL inherits process of redirector in Fission
Firefox places a data: URL reached through a server-side redirect in the same process as the redirecting site. An attacker could use this to run in-process attacks such as Spectre against sites that intentionally allow server-side open redirects.
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
Created attachment 9313727
frame_data.html
Open redirect in a website are considered as not a vulnerability in many sites (e.g. https://bughunters.google.com/learn/invalid-reports/web-platform/navigation/6680364896223232/open-redirectors).
This is especially true for server-side redirect because a server-side redirect to Javascript URLs are blocked in all browsers (therefore, not threat for XSS).
However, Firefox inherits process from a redirect initiator when a server-side redirect happens to data: URLs. Therefore, sites which intentionally allows server-side open redirect are vulnerable to Spectre or other inprocess attacks.
Please note that server-side redirect to data: URLs are only supported in Firefox (among major browsers), so this threat only applies to Firefox.
Steps:
1. Open attached file.
2. Open about:processes
3. Observe that the data: URL iframe lives in the same process as vuln.shhnjk.com
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
Impact
Sites that intentionally allow server-side open redirects could be exposed to Spectre or other in-process attacks, but only in Firefox, since other major browsers do not support server-side redirects to data: URLs.
What the attacker needed
Firefox browser; Target site allows server-side open redirect; Victim visits attacker-controlled link
How it was found
- Open the attached test file.
- Open the about:processes page.
- Observe that the data: URL iframe shares a process with the redirecting site.
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.
Browsers normally keep different websites in separate processes so one site cannot peek at another's memory. Here, when a site redirects to a data: URL, Firefox keeps that page in the same process as the site that redirected. That breaks the separation and could let an attacker use a technique called Spectre to read data from the other site.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.