源之原味

这几行 CSS 代码将崩溃您的 iPhone

 

本文来自thenextweb.com。源URL是: https://thenextweb.com/apple/2018/09/17/css-code-can-crash-iphone-ipad/

以下内容由机器翻译生成。如果您觉得可读性不好, 请阅读原文或 点击这里.

A security researcher has found out that due to a vulnerability in WebKit (a rendering engine used by Safari browser), it takes only a few lines of CSS code to crash an iphone or an ipad.

The code itself is not too complex and uses multiple nested elements like <div> 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.

Sabri Haddouche – the man who found the vulnerability – posted a video on Twitter showing off the script causing an iPhone to crash, along with the code itself.

He warned that any link which contains the code can freeze the phone.“Anything that renders HTML on iOS is affected, ”Haddouche said.

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.

Thankfully, this hack doesn’t put any of your data at risk, but it is still quite annoying.

This is not the first incident of a piece of code or text can crash your iPhone. Last year, it was discovered that sending a text whichcan crash your iPhone. Even iOS 11 had a bug, where a character from an Indian language Telugu, made the device crash. Later, Apple released a fix for that.

下一篇:

Cryptocurrency researchers ask for XMR donations to secure Monero wallets

Leave A Reply

Your email address will not be published.