Pure CSS crashes iPhones and affects some browsers

General discussion and chat (archived)
User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Pure CSS crashes iPhones and affects some browsers

Unread post by Tomaso » 2018-09-17, 17:44

https://www.ghacks.net/2018/09/17/pure- ... s-iphones/
A couple of lines of code that runs in any modern web browser by default may crash Apple's Safari web browser, iPhones and affects select browsers as well.
TEST (WARNING: This is designed to crash certain browsers!): Result: Pale Moon v28.0.1 is unaffected!
..but:
The developer promises code to crash or freeze Firefox in the coming week.
--
The same developer released a one-liner, JavaScript this time, that freezes Google Chrome and ChromeOS.
TEST (WARNING: This is designed to freeze certain browsers): Result: Pale Moon v28.0.1 freezes!

--
It is up to the browser's developers to fix the issue.
While it does lead to freezes or crashes only, it may lead to data loss due to that.
Last edited by Tomaso on 2018-09-17, 17:48, edited 2 times in total.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5151
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Night Wing » 2018-09-17, 22:10

Tomaso wrote:TEST (WARNING: This is designed to freeze certain browsers)
If the address freezes Pale Moon, why did you put that on here for? In other words, I'm not senile enough to copy that address, open a tab, put the address in the Navigation Bar via "Paste and go" and see what DAMAGE it can do to Pale Moon.
Linux Mint 21.3 (Virginia) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
MX Linux 23.2 (Libretto) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
Linux Debian 12.5 (Bookworm) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2370
Joined: 2012-08-19, 20:32

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by back2themoon » 2018-09-17, 23:22

Not sure why this is supposed to be sensational? Some guy made a link that can crash browsers?

Great, just don't click on this guy's links. Unless this uncovers an underlying, valid security/coding etc. weakness, it doesn't make much sense.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Isengrim » 2018-09-18, 02:29

I guess it's sensational because it affects so many browsers at once.

And, the links are there so that people can (carefully) test with them to see if they get the same results.

Can confirm that the first link is okay, and the second causes a freeze on my Linux box.
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Moonchild » 2018-09-18, 05:58

Creating a DoS or "evil trap" page is nothing new. Anyone can make a simple recursive JavaScript blurb that will hang up any browser (because recursive calls are very hard to catch), for example.

Crashes (insofar as they aren't deliberate due to out-of-memory) are more interesting, but as indicated, Pale moon isn't affected.
Last edited by Moonchild on 2018-09-18, 06:01, edited 1 time in total.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SLotman

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by SLotman » 2018-09-18, 16:48

Awww... I came here happy to report Palemoon wasn't affected - you guys beat me :P

Locked