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.
- 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:
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
- Open Settings and go to General.
- Enter a homepage value consisting of two URLs separated by a semicolon.
- Close the browser and reopen it.
- 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.