Denial of service attack on Brave Browser.
An HTML file containing an extremely large argument to the alert() JavaScript function causes the Brave browser on Linux to crash and log the user out. An attacker could send this file to a victim, who would experience a denial of service when opening it.
Originally disclosed on HackerOne
- Triaged in 46 days
- Fixed in 3 months
- Paid in 48 days
- Disclosed after 4 months
Summary:
Hey there,
Basically,an HTML sent by an attacker to a victim can cause dos attack(whole system log's out) when that file is opened by the victim in his brave browser.This vulnerability is occurring because browser is not able to handle the input passed in alert() JavaScript function.This bug has been tested on latest brave browser in Linux platform.
Products affected:
Brave's Browser in Linux(Kali Linux)
Steps To Reproduce:
1 create an html file like :-
Brave.html( it is attached as POC below) i couldn't write the content of file here because the value inside alert() parameter is too large to be displayed here.
2 Open the file in your Brave browser in Linux platform.
Supporting Material/References:
I have attached an html file below just download it and open it up in brave browser on linux system and
screen will show "OH! something went wrong and you will be logged out".
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 fails to properly handle an excessively large string passed to the alert() function, leading to a crash.
Impact
Opening the malicious HTML file causes the browser to crash and the user to be logged out, resulting in a denial of service.
What the attacker needed
Victim uses Brave on Linux; victim opens the HTML file
How it was found
- Create an HTML file containing a very large value inside an alert() call.
- Open the file in Brave browser on a Linux system.
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 denial-of-service (DoS) attack makes a program or system stop working properly. Here, a specially crafted web page with a very long message in a pop-up box makes the Brave browser crash and log the user out. The attacker just needs to send the file to the victim.
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.