Skip to content
Open redirect Disclosed report Advanced CVE-2023-34415

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.

Jun Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 3 months
Text
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

The original report as published on Mozilla's Bugzilla, by Jun. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

  1. Open the attached test file.
  2. Open the about:processes page.
  3. 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.

More by Jun

View all

17 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.