Skip to content
Misconfiguration Disclosed report Intermediate CVE-2024-5022

iOS Firefox Focus file:// URI address bar spoofing

The iOS Firefox Focus address bar could be spoofed using a file:// URI so that it displayed a trusted site's name as if the page were served over HTTPS. An attacker could use this to make a malicious local file appear to be a legitimate secure website.

James Lee Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 4 months
Text
We are able to spoof address bar of iOS Firefox Focus with file:// URI as if we are on https.

This is worse than some spoof issues like https://bugs.chromium.org/p/chromium/issues/detail?id=809062 since file:// part is not viewable by users but only facebook.com just like when we are on https.

The original report as published on Mozilla's Bugzilla, by James Lee. 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

Root cause

Likely the browser did not clearly display the file:// scheme in the address bar, allowing a local file to appear as an HTTPS page.

Impact

An attacker could trick a user into believing they are viewing a legitimate HTTPS site when they are actually viewing a local file, which could facilitate phishing or other deception.

What the attacker needed

IOS Firefox Focus; victim opens a crafted file:// URI

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.

The address bar is the part of a browser that shows which website you are on. This report says that on Firefox Focus for iPhone, a specially crafted local file address could make the bar show a trusted site name, even though the page was not really that site and was not secure.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by James Lee

View all

30 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.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.