Skip to content
Open redirect Disclosed report Intermediate CVE-2021-23972

Bypassing http auth spoofing warning prompt when there's a cached redirect

Firefox's open-redirect warning prompt, which normally appears when a URL uses an '@' to spoof the host, could be bypassed by placing an emoji after the '@'. An attacker could craft a link that silently redirects the victim to an adversary-controlled page without the warning being shown.

Vijay Tikudave Follow

Originally disclosed on Mozilla

  • Fixed in 26 days
  • Paid in 37 days
  • Disclosed after 26 days
Text
As firefox browser nightly have open redirect prevention whereby the warning prompt will be shown to user in case of malicious attempt of making redirect with help of "@" eg. if you open [address removed] 

It will show warning prompt to prevent any spoofing.

However this could be bypass with emoji.

eg. if user click on below url , it won't be prompted for redirect warning & adversary could use the bug to exploit issue.

https://www.facebook.com@☺️.com

it will redirect to adversary page without any redirect prompt

The original report as published on Mozilla's Bugzilla, by Vijay Tikudave. 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 warning logic did not correctly parse or normalise URLs containing non-ASCII characters such as emoji, so the spoofing check was skipped.

Impact

A victim could be silently redirected to an attacker-controlled page without Firefox showing its spoofing warning, which may aid phishing.

What the attacker needed

Victim uses Firefox Nightly; victim clicks a crafted link

How it was found

  1. Open a URL that uses an '@' with an emoji after it, pointing at an adversary page.
  2. Observe that no redirect warning prompt is shown and the browser navigates to the adversary page.

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 URL can contain an '@' sign, and browsers treat everything after the last '@' as the real website address. Attackers abuse this to make a link look like it goes to a trusted site while actually sending you elsewhere. Firefox added a warning for this trick, but the report says adding an emoji after the '@' made the warning disappear, so the redirect happened silently.

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