Search This Blog

Powered by Blogger.

Blog Archive

Labels

A new CSS snippet can crash and restart your iPhone, iPad





A security researcher has discovered a new way to crash and restart any iPhone or iPad devices instantly by using a simple few lines of code.

The code could be easily spread over email or through social media posts, once the Apple device user opens the snippet of code, the device will reboot without warning, as a result, the user would lose all the unsaved data.

A Berlin-based security researcher Sabri Haddouche wrote the 15 lines of code and shared it in a post on Twitter.

“Anything that renders HTML on iOS is affected,” he said. If someone sends you a code link on Facebook or Twitter, or email you, or through any medium, he warned.

The snippet exploits the flaw in Apple's operating system which tries to use all the available resources on your iOS device.  It results finally a panic on the kernel of the hardware and ultimately restarts the device.

Haddouche packaged the codes in Cascading Style Sheets (CSS) to form a snippet and it controls the way simple HTML code is displayed on a screen.


'The attack uses a weakness in the -webkit-backdrop-filter CSS property, which uses 3D acceleration to process elements behind them,' Mr Haddouche told ZDNet.

'By using nested DIVs with that property, we can quickly consume all graphic resources and freeze or kernel panic the OS.'

Share it: