Skip to content
Open redirect Disclosed report Beginner CVE-2017-7833

URL spoofing using combining marks

Firefox displayed a URL containing an Arabic combining mark as a normal domain, allowing an attacker to spoof a legitimate site. An attacker could trick inexperienced users into visiting a malicious site that appears to be the real one.

Anonymous Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 4 months
Text
Created attachment 8874786
PoC.png

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170518000419
Firefox for Android

Steps to reproduce:

http://xn--google-yri.com/ 


Actual results:

By adding this *ู* (notice the weird thing under asterisk) we can actually spoof the URL (espicially the inexperienced users)

More info:
U+0650, ARABIC KASRA


Expected results:

The URL should be shown in PunnyCode or these letters should be banned.

The original report as published on Mozilla's Bugzilla, by Anonymous. 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's IDN display policy did not treat the Arabic combining mark as a character that makes a domain visually confusable, so it rendered the Unicode form instead of Punycode.

Impact

An attacker could make a malicious site look like a trusted one to inexperienced users, but the report does not show any further harm.

What the attacker needed

Victim uses Firefox for Android; victim clicks a crafted link

How it was found

  1. Open the crafted URL containing the Arabic combining mark in Firefox for Android.
  2. Observe that the address bar shows a spoofed domain instead of Punycode.

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.

Some characters, like an Arabic accent mark, are invisible or look like part of a letter. Browsers are supposed to show such domains in a safe encoded form (Punycode) so they cannot be confused with real ones. Here Firefox showed the lookalike domain as if it were the real site, so users could be tricked.

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 Anonymous

View all

2,270 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.