Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the URL http://a/%%30%30 crash Google Chrome?

The URL http://a/%%30%30 crashes Google Chrome, even when just hovering over it.

Why does this happen?

like image 592
416E64726577 Avatar asked Sep 24 '15 21:09

416E64726577


People also ask

What is the link that crashes Chrome?

Entering in the following 16-character link "http://a/%%30%30" (without the quotes) crashes Chrome. The bug, first discovered by Andris Atteka, allows a user to crash Chrome by adding a null character to a URL.

Why do some websites crash Chrome?

If your computer is low on RAM (which is often a problem due to Chrome's high memory usage), it may cause websites to crash. Try closing all tabs you're not using, pausing any Chrome downloads, and quitting any unnecessary programs running on your computer.

Why some websites are not opening in Chrome?

Browser Issue If websites can be accessed without issue in an alternative browser, try clearing out the cache and cookies stored by Chrome from the Settings page. Switching off the "Predict network actions to improve page load performance" option under the Privacy heading may also fix the problem.


1 Answers

Tom Scott explains this in his YouTube video:

  1. http://a/%%30%30 is decoded as http://a/%00 because %30 is 0
  2. http://a/%00 is then further decoded by another piece of code as http://a/<NULL> because %00 is the NULL character

The bug was originally demonstrated by Andris Atteka who simply added a null character to the string.

URL ASCII table

like image 50
mjsa Avatar answered Oct 11 '22 02:10

mjsa