Address bar spoofing on iOS using long hostnames
Firefox on iOS truncated a long hostname in the address bar, so a crafted link could display a misleading shortened host while the real destination differed. An attacker could send such a link to a victim and have the address bar show a spoofed host.
Originally disclosed on Mozilla
- Fixed in 7.1 years
- Paid in 7.5 years
- Disclosed after 7.1 years
Created attachment 8930349
Screen shot
Today I have discovered a vulnerability similar to address bar spoofing where an attacker can send a fabricated link to a victim and if he (victim) opens that link in his iOS Firefox browser his url on the address bar will be spoofed.
I expected Firefox will show The URL will show ....loginsgn.google.com.pk.bntk.pl as in Firefox Android.
instead of showing:
|[lock]https://loginsgn.google.com.pk...|
show:
|[lock]loginsgn.google.com.pk.bntk.pl|
PoC:
http://tinyurl.com/ycalmsax
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 iOS address bar truncated long hostnames rather than showing the full host, unlike the Android version.
Impact
A victim could be misled about which site they are visiting, which may help phishing; the report only demonstrates the display issue on iOS.
What the attacker needed
Victim uses Firefox on iOS; victim opens attacker's link
How it was found
- Craft a link with a long hostname
- Send the link to a victim
- Victim opens it in Firefox on iOS
- Observe the address bar shows a shortened, spoofed host
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 meant to tell you which website you are really on. Here, a very long web address was shortened on screen, so the part shown looked like a different site than the one actually loaded. That lets a scammer make a link look trustworthy when it is 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.