Unresponsive JavaScript Code: Recursive load of single page with pop up blocker disabled makes Firefox hang, overload memory and become unresponsive with max. possible CPU usage
Categories
(Firefox :: Security, defect)
Tracking
()
People
(Reporter: chamathmc, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, hang, testcase, Whiteboard: [sg:dos])
Updated•13 years ago
|
Comment 1•5 years ago
|
||
8 years and no response?
This is similar to what I just caused with Firefox, but using server-side code.
I made a mistake with PHP which resulted in a never-ending loop. When I hit the page, Firefox AND Windows 10 became unresponsive.
Firefox Quantum 67.0.4.
Windows 10 Enterprise 1809
I can recreate the "bug" at will. Firefox appears to enter some kind of fatal infinite loop. Tabs become in-operable.
The "bug" was produced by a forced redirect to this website.
http://165.22.150.35/?number=+1-(888)-963-8952
Which then force redirected my browser to this site.
http://165.22.150.35/2xxdfhdsjfjdsafhsdjafbhdsafsdjfhsa/?phone=+1-(888)-963-8952&
The page is a phishing scam for Windows users. It attempts to upload encryption malware.
When you visit you will see that you cannot close the pop up. You cannot close the tab. You cannot switch between tabs. You cannot close firefox by clicking the top right (X) My CPU usage appears to only max out intermittently. Windows 7 lags but does respond.
Firefox shut down on it's own 1 in 4 tries. Shutting down the process tree was required the other times.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
With the popup blocker enabled this seems unproblematic. The page becomes unresponsive but the tab can simply be closed.
I don't think this belong to SitePermissions, since the popup-block bar isn't really the problem here and the blocking mechanism was explicitly disabled. If we were to add a protection for this (rate limit like Bug 1314912?) we would need to do it on the platform side.
Updated•2 years ago
|
Comment 4•1 year ago
|
||
The severity field is not set for this bug.
:serg, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Description
•