Skip to content
Open redirect Disclosed report Intermediate CVE-2025-0246

Android Firefox Nightly Address bar Spoof with SSL Lock via navigation to non-existent protocol

When a user navigates to a non-existent protocol such as 'nttps://google.com' from an existing HTTPS page, Firefox Nightly updates the address bar to show the new URL while the original page remains displayed. An attacker could use this to spoof the address bar and show a misleading URL with an SSL lock.

James Lee Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 5 months
  • Disclosed after 4 months
Text
Created attachment 9418778
Screen_Recording_20240812_151614_Firefox Nightly.mp4

I stumbled upon a strange behaviour when I tried to navigate to "nttps://google.com" where nttps is non-existent protocol, from https://google.com where address bar will point to nttps://google.com but we're still on same https://google.com page.

This means that we're able to spoof address bar via navigation like typing in nttps://google.com or copy and navigate via clipboard, or with bookmark.

I'm pretty sure there is better character than "n" to make this spoof better, but you get the idea of how this could be abused for spoofing attack.

PoC demo: https://pwning.geniuscoolcat.com/nttps.php

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 updates the address bar for the attempted navigation before confirming that the protocol is supported and the page has actually loaded.

Impact

An attacker could spoof the address bar to display a misleading URL with an SSL lock, potentially tricking users into trusting a page they are not actually on.

What the attacker needed

Victim uses Firefox Nightly; victim navigates to a crafted non-existent protocol URL

How it was found

  1. Open Firefox Nightly and navigate to https://google.com.
  2. Enter a non-existent protocol URL such as nttps://google.com in the address bar.
  3. Observe that the address bar shows the new URL but the original page remains displayed.

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's address bar is supposed to show the page you are actually viewing. Here, if you type a made-up protocol like 'nttps' instead of 'https', the browser changes the address bar text but keeps showing the old page. An attacker could trick someone into thinking they are on a trusted site when they are not.

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

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.