Skip to content
DoS Disclosed report Beginner

invalid homepage URL causes 'uncaught typeerror' or blank state

Setting the homepage to a value containing two URLs separated by a semicolon causes the browser to become blank and unresponsive on restart. An attacker could trick a user into setting such a homepage, potentially rendering the browser unusable.

tsug0d Follow

Originally disclosed on HackerOne

  • Fixed in under an hour
  • Disclosed after 8 months

Summary:

The issue is when you set the homepage as https://brave.com;https://google.com.vn and then change the setting to launch brave with homepage

Products affected:

Tested on windows7 x64 + BraveSetup-ia32

Steps To Reproduce:

1.go to Settings -> General, inject to "My home page is": https://brave.com;https://google.com.vn 2. close browser and reopen it 3. The browser become blank (forever?)

I try to unistall and reinstall brave but this issue still happen, so i have to go to my virtual machine to test it again.

If the attacker can trick user to change their homepage using this payload, they can shutdown user's browser (forever?)

we can set homepage by javascript, and trick user to click this button, attacker can build those script too.

or simply told victim to set their homepage to "https://brave.com;https://google.com.vn" to see some fun.

PoC:

https://cloud.githubusercontent.com/assets/17010094/19560362/d31ad10c-96f1-11e6-8895-161a6018e056.gif

The original report as published on HackerOne, by tsug0d. 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 does not properly validate or handle multiple URLs separated by a semicolon in the homepage setting, leading to a crash or blank state.

Impact

The browser may become blank and unusable, and reinstalling did not resolve it in the author's test.

What the attacker needed

User must set a specially crafted homepage

How it was found

  1. Open Settings and go to General.
  2. Enter a homepage value consisting of two URLs separated by a semicolon.
  3. Close the browser and reopen it.
  4. Observe that the browser becomes blank and unresponsive.

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 homepage is the page that opens when you start your browser. This report says that if you type two web addresses separated by a semicolon into the homepage setting, the browser may show a blank screen and stop working. The author thinks an attacker could convince someone to do this, but it is not clear how easily that could happen.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by tsug0d

View all

1 more disclosed report, 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.