Skip to content
Open redirect Disclosed report Beginner

IDNs displayed in unicode in messages/about/talk sections (Homograph Attack)

Yelp displays internationalised domain names (IDNs) in their Unicode form in user-generated content such as messages, the about page and Talk sections. An attacker could post a homograph link that looks like a trusted domain but leads to a spoof site, potentially tricking users into entering credentials.

hk755a Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 11 months
  • Paid in 11 months
  • Disclosed after 13 months

Hello Yelp,

Please refer https://en.wikipedia.org/wiki/Internationalized_domain_name to know more about IDNs.

The IDN (Internationalized Domain Name) : http://ebаy.com/ is a homograph for the latin ebay.com. if you click that first link, you might think that you are going to ebay.com but in fact, you are going to a homograph url http://xn--eby-7cd.com/

When such an IDN is posted on Yelp (for ex at the about me page,Talk section,Messages etc.). ,it displays IDN in Unicode. It would be safer to represent the Punycode version of the URL so that it would be apparent to the users that something wierd is going on. i.e show http://xn--eby-7cd.com/ instead of http://ebаy.com/

A bad guy can exploit this vulnerability by putting up a spoof site behind one of these IDN links,posting the link anywhere on yelp (The talk section can be a nice place) and the user or the yelp moderator/admin opens and carelessly enters his credentials there.

Facebook,hackerone,crowdcurity and many major sites have implemented code to block such attacks.They show the punycode version of the IDN url.

More info: http://www.charset.org/punycode.php?encoded=http%3A%2F%2Fxn--eby-7cd.com%2F&decode=Punycode+to+normal+text

Few more Examples:

  1. https://www.уelp.com/
  2. https://www.yelp.com/

They both appear to be same when posted on yelp but actually 2nd is the original one and the 1st is actually https://www.xn--elp-cfd.com/

For reproduction paste https://www.xn--elp-cfd.com/ anywhere on yelp and post it.It would appear as yelp.com only

Attachments

yelp.png
yelp.png From the original on HackerOne

The original report as published on HackerOne, by hk755a. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 application renders user-supplied URLs using their Unicode form without converting to Punycode or warning about mixed-script characters.

Impact

A user or moderator who clicks the displayed link could be taken to a spoof site and may carelessly enter their credentials there.

What the attacker needed

Attacker controls a homograph domain; ability to post links on Yelp; victim clicks the link

The fix

Yelp should display the Punycode version of IDN URLs, as other major sites do, so users can see when a link is not what it appears to be.

How it was found

  1. Create or obtain a homograph domain that looks like a trusted domain.
  2. Paste the Punycode form of the domain anywhere on Yelp that accepts links, such as Talk or messages.
  3. Observe that Yelp displays the link in its Unicode lookalike form rather than 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 web addresses can use letters from different alphabets that look identical to normal Latin letters. For example, a Cyrillic 'а' looks just like an English 'a', so a link can appear to go to a well-known site while actually going somewhere else. This report says Yelp shows these lookalike addresses as normal text instead of the encoded form that would reveal the trick.

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 hk755a

View all

11 more disclosed reports, best first.

More from Yelp

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.