5 ms·
Definitely looks like the kind of bug I'd find exploited on early Internet Explorer. Open a suspicious tab, get spammed with fullscreen ads! Now that's thinking
by smoldesu 4y ago
Definitely looks like the kind of bug I'd find exploited on early Internet Explorer. Open a suspicious tab, get spammed with fullscreen ads! Now that's thinking differently.
- LesZedCB 4y agouse it against them so sites can charge for a full ad watch, but they are hidden by the content that people actually want to watch.
- Maursault 4y agoA bug is an error in source code that causes a program to produce unexpected results or crash altogether, i.e. something that doesn't work, something broken; the user initiates an action, the action fails or program crashes. That isn't what this is. This is the user intentionally opening multiple overlapping fullscreen videos. You can make a computer saturate its processor indefinitely with a while-loop, but doesn't make it a bug.
- mmazzarolo 4y agoI would still consider a missing safety check (like in this case, to check if there’s already a full screen video open) as a bug.
- Maursault 4y agoAnd I'd agree, except that this behavior is an advertised feature of the of the system, iow, if you open multiple fullscreen videos, you should expect to see what is seen as opposed to Safari crashing or the system crashing.
- Thorrez 4y agoWhere is it advertised?
- Maursault 4y agoBack in 2010 with the release of iOS 4 and it's multitasking feature, and probably also in 2020 with iOS 14's Picture in Picture mode.
- Thorrez 4y agoHmm, is opening a fullscreen video considered opening a new application, or is it considered a single application (the browser) displaying different content? I thought it was the second case, so multitasking I don't think applies. Same for desktop chrome, when it shows a fullscreen video, that's not a new application, just the browser displaying content in a new way. For picture in picture mode, I don't think multiple fullscreen videos should be a valid configuration of picture in picture.
- function_seven 4y agoThe user isn't the one intentionally opening these overlapping videos. The site they're visiting is making that request, and the browser is honoring it. This is a bug. These are unexpected results! And as the article notes, "sometimes this behavior makes Safari crash." So a website can make your browser crash by getting it to do something nonsensical (opening 30 overlapping full screen videos), without your forewarning that this could happen. You can quibble and say it's a "misfeature" or similar, but I'm not sure that means much.
- Maursault 4y ago> The user isn't the one intentionally opening these overlapping videos. Yes, he absolutely is, and the proof is > So here’s a tiny web page I created to play with it. What OP is reporting is more accurately described as a possible memory overflow exploit. The software appears to be operating as designed, but a malicious attacker might be able to exploit the behavior to do bad things, though this is not exactly necessarily true, and we won't know until we see it happen.
- jaywalk 4y agoThe person who created the web page is the user? I think you've got that backwards.
- stonemetal12 4y agoHe found a bug and made a proof of concept webpage to demonstrate it. So when he talks about it he is both the user and the author of the web page. In general You wouldn't expect them to be the same person.
- function_seven 4y agoThis is weird. Okay, so it may not be a software bug at all, but I'm gonna move these goalposts and insist this is a product design bug, or something. If this is intentional behavior, I don't understand the point. A full-screen video should be the only one playing IMO. Playing multiple (windowed) videos is one thing, but having 30 of them overlap full screen is quite another. And with no affordances to mass-terminate them, the result is unwanted behavior. So: not a bug in the "off-by-one" or "use-after-free" sense, but damn if it ain't a close cousin.
- isodev 4y agoI have a project where this is a legitimate use case. Indeed, Safari was the only browser where it was possible to implement without trickeries… eventually the team managed to get a version for Firefox snd chromiums as well (on desktop too).
- code_duck 4y agoThe worst experience I’ve had on iOS, fairly recently, was clicking on a search result and being redirected to a dodgy website which displayed a “your phone has a virus!” pop up, started attempting to call a phone number repeatedly, and somehow corrupted the OS to where I saw a distorted version of the left-hand slide menu from the home screen, could not go to the home screen, close the app or reboot. I managed to reboot through a different method but it’s made me very wary of going to random websites on my phone.
- r00fus 4y agoI've never had this kind of experience for the past 14 years on iOS. How could a website get access to call numbers without interaction?
- Operyl 4y agoIt's spamming the modal asking if you want to call x phone number, probably.
- code_duck 4y agoThe corruption of the interface was the most disturbing thing. It was showing the left-hand slide home screen menu offset, overlapping with other elements, without any ability to interact with it. It must be some sort of memory corruption vulnerability, I assume. Apple did an update a week or two later which addressed some sort of zero day… So clearly I was wondering exactly how hacked my phone might have been. I was able to reboot and it has seems OK, but who knows.