A piece of CSS code crashes and restarts iPhones2018-09-17 17:48 by Daniela
А security researcher seems to have found a new way to crash and restart any iPhone. This one requires a few lines of code and all iPhones and iPads are vulnerable to it while Mac users will see Safari crash if the code is run.
The security researcher and software engineer tweeted on Saturday 15 lines of code that will crash any iPhone. Many people didn’t believe this at first because of how much emphasis Apple puts on the fact that iPhones are the most stable smartphones, but the bug was proven to be true. Sabri Haddouche posted the code information on GitHub and lots of people tested it and confirmed that it does cause any iPhone to crash and restart.
The snippet is a form of code known as CSS, which stands for 'Cascading Style Sheets', and controls how simple HTML code is displayed on a screen. The code itself is not too complex and uses multiple nested elements like tags inside a CSS effect called backdrop-filter, used for color shifting behind the element. This is a processor intensive task which takes up a lot of the device's resources and can be used to make it crash.
As soon as the snippet of code appears on screen, the Apple device will reboot without warning — leaving unsaved data lost.
Haddouche also added that a tweaked version of CSS code can affect MacOS as well, making more Apple products vulnerable. He said that Apple has acknowledged the bug and is currently looking into it. We have reached out to Apple for a statement and will update this story accordingly.
Read more -here-