Skip to content
Open redirect Disclosed report Beginner

Homograph attack on redirect URL (https://chaturbate.com/external_link/?url)

The external link redirect page displays the supplied URL as a clickable link without showing its punycode form, so a homograph domain that looks like a trusted brand can be presented to users. An attacker could craft such a link to trick a user into visiting a malicious website.

jaykp Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 11 hours
  • Paid in 10 hours
  • Disclosed after 60 days

Hi There,

Hope you are doing good,

As i was just playing around with chaturbate.com and found that you guys does not have proper configuration for malicious script injection in website.

In Homograph attack basically attacker may able to inject some malicious script with URL.

Here i made homograph link for the ebay.com, when normal user see this link its look like normal simple text link but no its not simple link it's crafted homograph malicious script link so when user see this particular link user might be think that they are going to redirect on eBay.com but the fact that the link which add is malicious link and made from homograph encoding so when user click on this link user will redirect on some malicious website.

The IDN (Malicious link which i add in website) : https://xn--eby-7cd.com in looking it's look like eBay.com but when user click this link user will redirect on malicious website.

POC video

Video_20180722_190546.mp4 From the original on HackerOne

POC URL https://chaturbate.com/external_link/?url=http://ebаy.com/

Prevention of this vulnerability

To prevent this vulnerability it would be safer to show the punycode version of the url so it would be apparent that something weird is going on. that is, show http://xn--eby-7cd.com/ instead of eBay.com.

you can see that how hackerone prevent this vulnerability

For instance, Here you can see that in hackerone if i am attaching punycode homograph URL but when you click on this link it will show you actual encryption URL of malicious URL : http://xn--eby-7cd.com/ - Click on this link and you will get know how to prevent this vulnerability or else you can also put prevention by adding validation on particular field for URL.

Reference

https://hackerone.com/reports/29491 https://hackerone.com/reports/175286

Please let me know if you want more information then,

Cheers, Ninjan

Impact

Attacker may able to inject any homograph URL in website and able to scratch any normal user to their malicious website.

The original report as published on HackerOne, by jaykp. 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 redirect page renders the user-supplied URL as a clickable link without displaying its punycode form or validating the destination.

Impact

An attacker could present a lookalike link that may trick a user into visiting a malicious website.

What the attacker needed

Victim clicks a crafted link

The fix

The page should display the punycode form of the URL, or validate the URL field, so users can see the real destination.

How it was found

  1. Craft a homograph domain that resembles a well-known brand.
  2. Place that domain in the url parameter of the external link page.
  3. Open the resulting page and observe the link is shown in its friendly form.
  4. A user clicks the link and is taken to the malicious site.

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 homograph attack uses lookalike characters from other alphabets so a web address appears to be a familiar brand but actually points somewhere else. Here the site showed the link in its friendly form rather than the encoded form, so users could not tell it was not the real brand.

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 jaykp

View all

3 more disclosed reports, best first.

More from Chaturbate

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.