Slashdot Mirror


Vulnerability in WebKit Crashes and Restarts iPhones and iPads (zdnet.com)

Catalin Cimpanu, writing for ZDNet: A security researcher has discovered a vulnerability in the WebKit rendering engine used by Safari that crashes and restarts the iOS devices -- iPhones and iPads. The vulnerability can be exploited by loading an HTML page that uses specially crafted CSS code. The CSS code isn't very complex and tries to apply a CSS effect known as backdrop-filter to a series of nested page segments (DIVs). Backdrop-filter is a relative new CSS property and works by blurring or color shifting to the area behind an element. This is a heavy processing task, and some software engineers and web developers have speculated that the rendering of this effect takes a toll on iOS' graphics processing library, eventually leading to a crash of the mobile OS altogether.

57 comments

  1. Really? by grep+-v+'.*'+* · · Score: 2, Insightful

    apply a CSS effect known as backdrop-filter

    Just display the text. DISPLAY. THE. TEXT. That's all I want in a browser (well, accepting forms too I suppose, that is fairly handy.)

    Movement and special effects and such are for movies. If I wanted blurry text I'd take off my glasses.

    --
    If the universe is someone's simulation -- does that mean the stars are just stuck pixels?
    1. Re:Really? by Gr8Apes · · Score: 3, Insightful

      The entire HTML/CSS rendering concept is flawed from the get-go, with piss poor standardization and failure to maintain boundaries within graphical elements. It's effectively a pinup board with no boundaries and no real rules on rendering. But it's Agile! ;)

      --
      The cesspool just got a check and balance.
    2. Re:Really? by Anonymous Coward · · Score: 1

      We tried leaving this junk out of the spec.

      That got us Flash because web "developers" love the shiny graphical bullshit.

      There's a reason all this shit is getting dumped into browsers now, and it's because if it weren't, web "developers" would find some way to do it anyway.

      Also, if you want to see this bullshit in use, just go to Apple's homepage. They use that crap all the time. (Note: it's most egregious on their "learn more" pages.)

    3. Re:Really? by Anonymous Coward · · Score: 1

      Just display the text. DISPLAY. THE. TEXT. That's all I want in a browser (well, accepting forms too I suppose, that is fairly handy.)

      That assertion is bullshit because if that's all you want then you would just use Lynx. Of course if you're using an iDevice then you have obviously chosen the wrong platform but even then there is Text Browser.

    4. Re:Really? by Anonymous Coward · · Score: 0

      Exactly right! When I was a kid, all we had was the <blink> tag, and that's the way we liked it!

    5. Re:Really? by Shikaku · · Score: 1

      https://play.google.com/store/...

      At least Android has the option. The app name isn't Lynx but yes it's Lynx with some menus.

    6. Re:Really? by CanadianMacFan · · Score: 4, Insightful

      It's not the developers. It's the designers who f*cking think that their site should look the same on every browser and every computer no matter what. They were the idiots that used to think that because your screen had n pixels in width then their website could be n pixels wide too. I mean, everybody has their browser maximized right?!?!? They also think that everyone has a high-speed connection to download unoptimized graphic files.

      It's HTML, it's going to look slightly different on different browsers and different platforms. Live with it. If it really needs to look the same then make a PDF to download.

    7. Re: Really? by Anonymous Coward · · Score: 0

      Text Browser you said? https://twitter.com/pwnsdx/status/1041489180755468290

    8. Re: Really? by Anonymous Coward · · Score: 0

      Sounds like what you want is gopher, not a web browser.

    9. Re:Really? by Anonymous Coward · · Score: 0

      Good for you and the few people who agree with you. The rest of the world doesn't care about what you want, or your snark. That's why the web isn't the same pile of crap that it was in 1993 (now it's the pile of crap that it is today).

    10. Re:Really? by Anonymous Coward · · Score: 0

      LInks > Lynx > w3m

      Lynx is OK but Links so so much better!

    11. Re:Really? by gweihir · · Score: 1

      How old-school. Today everything must be blinking and beeping or it is not real, have you not heard?

      In other news, I am waiting for a browser that has a "plain" no-bullshit mode, without quite going back to links or the like.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    12. Re:Really? by Anonymous Coward · · Score: 0

      With this logic, no one would push the envelope for advancements and instead stick to "how it has always been done".

    13. Re:Really? by Anonymous Coward · · Score: 0

      web developers? nah.. web designers.. ... developers are paid $125/hr and designers are $65/hr... developers lift city blocks and maintain industrial order and launch things to the moon and back... designers apply graffiti to everything and try to paint petals on butterflies.. i digress. sorry. we need designers... except they could lighten up and just stick with design within usability improvements and optimization... ;-) alas. happy sunday..

    14. Re:Really? by Anonymous Coward · · Score: 0

      love old school.. don't need distraction while reading the news..

    15. Re:Really? by Anonymous Coward · · Score: 0

      Wrong. be innovative in what you write, not so much in how you format it.

      Also, thinking that "everybody maximize their browser" is not pushing any envelope. It is simply a wrong assumption. The browser is not maximized, and some of us has really weird screen sizes too.

      Some designers don't "get" html, and so they design sites/toolkits that fail for for a large minority - and the site is simply less used for that reason. With the way everyone "wants clicks", why chase off 10% of the users with faulty design? But no, they cannot get that . . .

    16. Re:Really? by Anonymous Coward · · Score: 0

      [...] If it really needs to look the same then make a PDF to download.

      Oh god no. Just no.

    17. Re:Really? by Anonymous Coward · · Score: 1

      Everything w3c touches is flawed from the get-go

      Let ISO/ANSI/ECMA or even JEDEC handle it and at least they will write down what is implementation defined and what is not in a clear way.
      At least we will be able to tell if it is the page that is broken or the browser that can't handle it.

    18. Re:Really? by thegarbz · · Score: 3, Insightful

      Just display the text.

      1990 called, they want their HTML 1.0 back.

      That's all I want in a browser

      Use Lynx, and leave the rest of us alone.

    19. Re:Really? by Anonymous Coward · · Score: 0

      Just display the text.

      1990 called, they want their HTML 1.0 back.

      That's all I want in a browser

      Use Lynx, and leave the rest of us alone.

      The problem with that is, text browsers can't load up the half-dozen massive JS frameworks that all need to be loaded and executed in order to display the text.

    20. Re:Really? by Anonymous Coward · · Score: 0

      Just display the text.

      1990 called, they want their HTML 1.0 back.

      Nobody sees the slipper rope here? wake up from a coma and find that opening all your paper books shows incomprehensible gibberish, because those old books have been "deprecated" and new viewers are "required" -- "demanded for our safety" even. What's sad is none of the dead authors or those alive who or moved on to better things are going to rewrite their historical pages

      It's like nobody here can see the bizarro universe where planned obsolescence does make your old stuff disappear before your eyes, and your site requires more and more maintenance for historical html to not break in new browsers

  2. You just need the right APK by Anonymous Coward · · Score: 0

    All you need is the proper APK that will turn your iPad into a washing machine and your iPhone into a cabbage

    1. Re:You just need the right APK by Anonymous Coward · · Score: 0

      All you need is the proper APK that will turn your iPad into a washing machine and your iPhone into a cabbage

      .

      All APK needs is a lug wrench applied to his skull. I'm getting pretty goddamned tired of seeing his spam.

  3. Are ad-blocker blockers using this? by Anonymous Coward · · Score: 0

    Could this be the cause of frequent crashes on my ios9 Dolphin browser? ad-blocker blockers fighting back?

  4. It's NOT ME doing it, it's c6gunner by Anonymous Coward · · Score: 0

    It's NOT ME doing it, it's c6gunner (his name's on posts impersonating me doing it e.g. https://linux.slashdot.org/com... ) so don't try put this on me - I only posts where hosts are effective vs. threats/trackers etc. e.g. https://it.slashdot.org/commen... & https://it.slashdot.org/commen... & https://it.slashdot.org/commen... & https://it.slashdot.org/commen... + https://it.slashdot.org/commen... where hosts did indeed nullify the threats involved.

    * I don't like that bs csgunner is doing anymore than you do (especially saying I have a MacOS X version ready, I don't (yet) & that it works vs. spectre/meltdown etc. lies).

    APK

    P.S.=> Still, don't make that kind of threat - not w/ me (friendly warning that because where I am from I really HAVE done what you're talking about & am not afraid to do so IF needed to DEFEND myself) - especially WHEN I DO NOT MERIT IT!... apk

    1. Re:It's NOT ME doing it, it's c6gunner by Anonymous Coward · · Score: 0

      Oh just fuck off you fat incel retard APK.

    2. Re:It's NOT ME doing it, it's c6gunner by Anonymous Coward · · Score: 0

      Alexander Peter Kowalski isn't an incel. He gets his ass packed with trucker dick all night long while working the glory hole down at the Pilot Travel Center off of I81 near his house.

    3. Re: It's NOT ME doing it, it's c6gunner by Anonymous Coward · · Score: 0

      Oh, boo hoo. You've been nasty to people for two decades (see your behavior on Ars in 2000), but you throw a fit when people do anything back to you. Too bad. Don't start what you can't finish.

      Besides, getting an account would effectively put an end to any impersonation. You just can't handle making your abuses subject to moderation and karma.

  5. Re: APK Hosts File Engine for MacOS!... apk by Anonymous Coward · · Score: 0

    k but... how to install on iphone?

  6. hack investigator by Anonymous Coward · · Score: 0

    I am aware some people need someone who can help them dig out secrets as well figure out the truth,this can only be done by a professional hack investigator who is fast and reliable. i heard a lot about this man Proffrankhack @ gmail.com which called my attention to give him a try despite not knowing him,i was shocked at the result i got because his ability to crack any database as well spy any mobile phone without physical access is amazing do yourself a favour by calling him to your rescue

  7. To quote a film hero of mine? apk by Anonymous Coward · · Score: 0

    To quote a film hero of mine? "I'm not leavin': This is ground zero. This is MY site! I'm not gonna let this happen. I can still fix this..." Dr. Robert Neville I am LEGEND

    * Get it? Good...

    APK

    P.S.=> Another quote from that excellent inspirational film that applies to "YOUR KIND" (filthy vampires): "Typical human behavior is now ENTIRELY ABSENT..." apk

    1. Re:To quote a film hero of mine? apk by Anonymous Coward · · Score: 0

      Even if I was a vampire, I wouldn’t drink your fat filled blood, you useless incel turd.

  8. Re: quality software apple by Anonymous Coward · · Score: 2, Informative

    Doesn't actually crash or reboot iOS. It just looks like it while it reloads the graphic system. Comes back way too fast to be a restart, all apps still running, all Safari tabs saved except the offending tab, phone doesn't say it was restarted on the lock screen like it does after a restart.

    Tested on iPhone 5c, iOS 10.3.3.

  9. c6gunner IMPERSONATING me again? by Anonymous Coward · · Score: 0

    c6gunner your FAKEname's on a post impersonating me & worse is you altering /. user's words https://linux.slashdot.org/com... as I challenged you to show you do better work and you can't after you tried to mock me you hypocrite LYING loser https://linux.slashdot.org/com... .

    * You're online FAKENAME trash c6gunner & a childish dishonest punk.

    (PUTTING WORDS IN MY MOUTH TOO saying what I don't (on spectre/meltdown) https://tech.slashdot.org/comm... )

    APK

    P.S.=> Impossible to deny FACT of your FAKEname (for your FAKE wasted lie of a so-called life) on that 1st post link above you unbelievable pussy loser... apk

    1. Re:c6gunner IMPERSONATING me again? by Anonymous Coward · · Score: 0

      Your software is just crap - written in crayon, fictional... I'm going to continue using the Host File Engine as a punchline to a joke by mmell February 17, 2017

      Your premise that hostfiles are a good way to deal with advertising and malvertising is fucking insane - by JazzLad April 20, 2016

      his hosts "program" is actually a broken batch file by xenotransplant August 10 2015

      his hosts tool is actually useful for those cases in which one does indeed want to be a laughingstock while consuming excessive amounts of alcohol by alexgieg September 25 2015

      I like your tinfoil hat by Karmashock September 09 2015

      that APK nut, I can't get him to stop talking about his piece of shit file by rogoshen1 Tuesday March 03, 2015

      I personally use a HOSTS file blocker produced from a genius called APK by 110010001000 October 27 2017

      APK

      P.S.=> When YOU do better than THAT by our /. registered peers, then talk (from behind your FAKE NAME for your FAKE LIE of a "so-called" WASTED life) - ok? apk

  10. Not dumped *into* browsers! by Anonymous Coward · · Score: 0

    That shit *originated* there! Ever since HTML 3.0.

    The W3C reigned them in with HTML 4.0 and XHTML.
    But they rebelled, and created the infamous What(TheFuck)WG, which went into full code schizophrenia. Because instead of basing their code on standards, they just dumped their entire spaghetti code mess into a huge "standard". And because the whole point of standards apparently now isn't reliable stability anymore, it is a "living" one. Meaning it mutates whenever you blink, piling up the next implementation of the inner-platform effect anti-pattern of bored iDiots using iDevices in vegan SJW coffe shops that cannot tell the WWW from the Internet from programs anymore.

  11. Fixed in iOS 12? by antdude · · Score: 1

    Will it fixed in tomorrow's iOS 12 release?

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  12. Useful iOS utility by Anonymous Coward · · Score: 0

    Doesn't actually crash or reboot iOS

    Gave me a nice clean reboot (iPhone 6s+, iOS 11.4.1). Worked on both Safari and Firefox Focus, (much faster on Firefox, than Safari). Great on-line utility, someone needs to put this up on http://reboot_iOS.com.

  13. Re:quality software apple by Anonymous Coward · · Score: 0

    Their OS is broken by design or implementation, if a web browser can crash it.

  14. When you give the web browser full system control by Anonymous Coward · · Score: 0

    like that time Apple made sure you could tell Safari to snap pictures with the camera without turning on the camera LED.

    and now they forgot to patch things up properly, and someone stumbled over an accidental bug as a consequence of this...

    Apple always leaves a way into the system via Safari.

  15. Try Reader mode by andrewbaldwin · · Score: 1

    A lot of browsers have a reader mode which just displays text and inline images - no adverts, no flash....

    It's a real pleasure to see some pages 'old school' without all the rubbish.

  16. Re:quality software apple by SharpFang · · Score: 3, Interesting

    It's not *that bad* really. The crash occurs in the gfx library / rendering engine, on a lower level. It's just given a single absolutely massive rendering task it's unable to complete within the watchdog duty cycle. Someone didn't foresee this - normally the library should be done with its job within microseconds, but this specific job was engineered to take a "macroscopic" time slice, and so, the watchdog bites.

    There are solutions - but not easy. It would be fairly difficult to design a subsystem that estimates time required to render a specific effect, before deciding "just don't do it", An easier approach would be to abort the rendering job after a preset time, and restore the subsystem to a stable state. This would require a separate dedicated watchdog, and a special subsystem that is capable to abort and unroll an arbitrary job mid-way through. Or they could slice the rendering engine vertically, and make it perform only a specific amount of work per time slice. And this gets quite convoluted because you're replacing simple loops with a finite state machine.

    All doable, all difficult and costly... and not contributing to normal web experience, just protecting against malicious attacks. Yeah, they fucked up, but it's a 'the fucking incompetent idiots' fuckup type, it's just 'for fuck's sake, do we really have to protect against THIS too?' one.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  17. Programmer humor by volodymyrbiryuk · · Score: 2

    So the "I hack people with HTML" memes are true at last. Thank you Apple.

    --
    sudo rm -r -f --no-preserve-root /
  18. The problem is MySpace died by Anonymous Coward · · Score: 0

    Back when MySpace was around, end-users were throwing in SOOOOO much aweful stuff that it made a great test environment for the browser developers: All they had to do was browse a few of the truly hideous MySpace pages and if the thing didn't crash in a horrible, nasty way, then it could handle ANYTHING else on the Web! :P

  19. Maybe We Don't Need Styled Information by BrendaEM · · Score: 1

    I would rather have the user determine the look of a webpage. We want text, images, videos, and audio, and menu, and a search box that we don't need to use a find function to find.

    --
    https://www.youtube.com/c/BrendaEM
    1. Re:Maybe We Don't Need Styled Information by Anonymous Coward · · Score: 0

      I would rather have the user determine the look of a webpage. We want text, images, videos, and audio, and menu, and a search box that we don't need to use a find function to find.

      I agree that user agents should have a final say on everything, especially because not all code on your website is web 3.0 compliant.

      Browsers and W3C policies get more and more hostile against displaying actual content in the name of security and arbitrary choices. Troves of old content has to be 404'd when it's harder to update long-archived hard-coded dependencies just to satisfy certain whims. I work at a news media site and it's depressing to just see requests to add redirects that remove whole sections from the sites just because they're perceived to be stale --half the time there is no equivalent content or the old one had unique information and reports that are not coming back.

      There used to be a "user trumps author code" clause in the standards which got reworded in favor of author rendering around 2012 or so. In the past 60 months I'm noticing more and more extensions get blocked in some browser contexts (usually theming of browser internals). Javascript suddenly fails because of CSP blocking that renders your perfectly useful bookmarklet automation inert because the author's will is that "attackers" won't load unapproved code, where the user is just one such attacker. At one point installing extensions from unapproved sources was not considered an attack, but even that is a problem now. And then people wonder why there's always a few power users who refuse to go past X version...

    2. Re:Maybe We Don't Need Styled Information by Anonymous Coward · · Score: 0

      s/In the past 60 months/In the past 6 months/

  20. ArseHoleTechnica BLOWN AWAY by apk by Anonymous Coward · · Score: 0

    Arstechnica = losers who stalked me (as you do now anonymously unidentifiably) to NTCompatible.com & Windows IT Pro magazine forums to their public dismay in Jeremy Reimer & Jay Little + Jarrett DeAngelis (who posts here on /. until I drove his ass off too) when their websites were REMOVED by their hosting providers in Shaw Canada & CrystalTech (for both email harassing me caught on a tracking ticket + stalking me & posting lies about me on them AFTER I destroyed them both PUBLICLY @ Windows IT Pro on Exchange Servers memory being freed UNHALTING them (which tells you Exchange is HEAVILY POINTER ORIENTED linked list driven, which leads to memory fragmentation that CAN halt a serverware)).

    Jay Little the "self-proclaimed 'EXCHANGE EXPERT'" HAD TO CONCEDE IT from MICROSOFT'S OWN DOCUMENTATION proving it FOR me there (where they as usual stalked me AS YOU ARE NOW)

    Peter Bright/Dr. Pizza (alias GOITERMAN, lol) can tell you what happened to his IRC server after that (lol).

    "The great arseHOLEtechnica" (not) RUN OUT of their own server chatrooms hahaha (by "yours truly").

    APK

    P.S.=> In effete retaliation they edited my posts & impersonated me on their little playpen of UNDERACHIEVER losers... apk

  21. Re:quality software apple by Warhaven · · Score: 1

    It's not *that bad* really. The crash occurs in the gfx library / rendering engine, on a lower level. It's just given a single absolutely massive rendering task it's unable to complete within the watchdog duty cycle. Someone didn't foresee this - normally the library should be done with its job within microseconds, but this specific job was engineered to take a "macroscopic" time slice, and so, the watchdog bites.

    There are solutions - but not easy. It would be fairly difficult to design a subsystem that estimates time required to render a specific effect, before deciding "just don't do it", An easier approach would be to abort the rendering job after a preset time, and restore the subsystem to a stable state. This would require a separate dedicated watchdog, and a special subsystem that is capable to abort and unroll an arbitrary job mid-way through. Or they could slice the rendering engine vertically, and make it perform only a specific amount of work per time slice. And this gets quite convoluted because you're replacing simple loops with a finite state machine.

    All doable, all difficult and costly... and not contributing to normal web experience, just protecting against malicious attacks. Yeah, they fucked up, but it's a 'the fucking incompetent idiots' fuckup type, it's just 'for fuck's sake, do we really have to protect against THIS too?' one.

    Yup. Didn't crash my little Mini (Late 2012 model, 16GB RAM, 2.5GHz Ivy Bridge Core i5), but it did max out the CPU and bring it to a crawl until I closed the window. Didn't test it on my iPhone 6s, but I presume it'd fair even worse.

  22. You say I should get a reg'd /. account? LOL! by Anonymous Coward · · Score: 0

    You don't practice what you preach in using your registered 'luser' account as you STALK me by UNIDENTIFIABLE anonymous, lol - hypocrite...

    * IF some guy named "Andrew K" didn't take APK years before I got here, I'd do "APK" but since I can't have what I want (just being ME, unlike the FAKE NAME for FAKE LIVES sockpuppeteering type most of "your kind" are that is)? I don't bother... I've got 100's up UPMODS anyway (despite ac's like me being harder to see for many users since /.'s 'downmoderation system' hides our posts by default) + DOZENS here liking & USING my work praising it - do you?

    HELL NO!

    APK

    P.S.=> Do you get your degree (though I doubt "your kind" has the work-ethic OR intelligence to get one @ all, lol) @ "the UNIVERSITY of DUMB" or what? LMAO... apk

  23. Comment by Anonymous Coward · · Score: 0

    I was going to offer a new software-as-a-service: reboot.me. It's web native, written in just html and css!

  24. Re: quality software apple by Anonymous Coward · · Score: 0

    ????? I just tested it and my whole phone crashed. I had to hold the button to turn it back on. So it is 100% crashing the iOS on some devices.

    -iPhone 7 11.4.1