Skip to content
Open redirect Disclosed report Intermediate

Homograph Attack Bypass [ Tested on Linux & Windows ]

The browser's homepage URL validation could be bypassed by adding an IDN containing an '@' symbol, causing the displayed URL to show a homograph domain that redirects to a punycode domain. An attacker could use this to trick users into visiting a malicious site that appears legitimate.

apapedulimu Follow

Originally disclosed on HackerOne

  • Paid in 36 hours
  • Disclosed after 4 days

Summary by the researcher

If you want read guys : https://apapedulimu.click/homograph-attack-bypass-on-brave-browser/

The report

##Summary: at #175286 you has been patched, and i try it work, but i've another way to bypass it. when we add a site to our Homepage with @, it's not validate a url properly, make sure it's display the punycode.

##Products affected:

Brave 0.18.36 ( Linux & Windows )

##Steps To Reproduce:

  1. In browser add homepage with IDN @ebаy.com/
  2. now close and open browser again
  3. you can see it's redirect to http://xn--eby-7cd.com/
Screenshot_2017-09-17_12-22-55.png
Screenshot_2017-09-17_12-22-55.png From the original on HackerOne

##References: https://hackerone.com/reports/175286

##Video https://youtu.be/aCDeZRdRCuk (unlisted)

The original report as published on HackerOne, by apapedulimu. 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 homepage URL validation did not properly handle the '@' character in IDN URLs, allowing a homograph domain to be displayed without punycode conversion.

Impact

An attacker could craft a homepage URL that displays a deceptive homograph domain, which redirects to a punycode domain.

What the attacker needed

User adds a homepage with a crafted IDN URL; browser restart

The fix

Homepage URL validation should correctly handle IDN and '@' characters so punycode is displayed.

How it was found

  1. In the browser, add a homepage using an IDN that contains an '@' symbol.
  2. Close and reopen the browser.
  3. Observe that the browser redirects to the punycode version of the domain.

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 different alphabets to make a web address appear to belong to a trusted site. Here, the browser failed to properly check a homepage address containing an '@' symbol, so it showed a fake address that looked like a real one but actually went to a different site. This could trick someone into visiting a malicious page.

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 apapedulimu

View all

9 more disclosed reports, best first.

More from Brave Software

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.