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.
Originally disclosed on Mozilla
- Fixed in 26 days
- Paid in 37 days
- Disclosed after 26 days
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
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
- Open a URL that uses an '@' with an emoji after it, pointing at an adversary page.
- 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.