Skip to content
Open redirect Disclosed report Beginner

Homograph attack

The browser's homepage feature did not properly validate URLs, allowing an internationalised domain name (IDN) that visually resembles a legitimate site to be saved. When the browser restarted, it redirected to the punycode version of the homograph domain, potentially tricking users into visiting a phishing site.

jaypatel Follow

Originally disclosed on HackerOne

  • Triaged in 8 hours
  • Fixed in 39 hours
  • Paid in 39 hours
  • Disclosed after 3 days

Summary:

when we add a site to our Homepage, it's not validate a url properly, make sure it's display the punycode.

Products affected:

  • Brave 0.12.4 (Tested on mac os)

Steps To Reproduce:

References:

The original report as published on HackerOne, by jaypatel. 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 browser did not validate or display the punycode representation of IDN URLs when setting the homepage, allowing visually deceptive domains to be saved and later loaded.

Impact

An attacker could trick a user into setting a deceptive homepage that redirects to a homograph domain.

What the attacker needed

User sets a malicious IDN as homepage; browser restart

The fix

The browser should validate URLs and display punycode for IDN homepages.

How it was found

  1. Add a homepage using an IDN that looks like a legitimate domain.
  2. Close and reopen the browser.
  3. Observe that the browser redirects to the punycode version of the homograph 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 characters from different alphabets that look identical to Latin letters, so a malicious domain can appear to be a trusted one. The browser failed to show the real, encoded form of the domain (punycode), so users could be fooled into visiting a fake site.

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 jaypatel

View all

4 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.