News for hackers. Stuff that matters.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by Tloewald on Wednesday October 02, 2013 @08:23AM (#6481965)
Ignoring flash does an even better job.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by richardjs on Wednesday October 02, 2013 @10:10AM (#6482453)
Sure, and not browsing the Web at all is even safer. But it's nice to see developments that make insecure technologies more secure.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by Tloewald on Wednesday October 02, 2013 @10:55AM (#6482741)
Well, we assume it's more secure than simply running Flash, but we don't know. In fact it increases the overall attack surface since now there's bugs in Adobe's implementation and bugs in this implementation to exploit.

Let's suppose we believe our site to be secure because we've tested it on Windows and Mac and checked the flash doesn't cause issues, and we've tested it on mobile and the flash simply doesn't work. Now we need to test all over again.

Consider, for example, JPEG injection bugs. There are JPEGs embedded inside Flash content that are now being parsed by different code.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by willvarfar on Wednesday October 02, 2013 @11:05AM (#6482816)
Well this is counter to my understanding. As shumway - like PDF.js - is ultimately using the exact same rendering engine and scripting engine via the same interface and in the exact same way as the HTML pages are already exposing, the attack surface just got massively smaller. If there is a jpeg injection bug, its a bug in the browser proper.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by Tloewald on Wednesday October 02, 2013 @11:33AM (#6483019)
It's smaller on browsers running this implementation of Flash but you're dealing with browsers running the real Flash runtime AND this new implementation, which may expose bugs you are not otherwise exposed to.

Let's suppose you're an ad network and you don't want to mistakenly inject malware into other websites because that would be bad. Now you need to think of a whole bunch of new cases. E.g. you might have carefully sanitized all the JPEGs on your site, but not the ones embedded in SWFs. This is merely an example.

Would it be a Good Thing if every copy of the Flash runtime magically disappeared and got replaced with this thing? Maybe. But as it is, life just got more, not less, complicated.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by reissbaker on Wednesday October 02, 2013 @09:52PM (#6486644)
It might be true that as an ad network if you allow Flash files, but don't allow JS files, your life might become harder. (If you do allow JS files, your life is no different — you were already exposed to JS vulnerabilities).

As a user, though, your browser is significantly more secure running Shumway than running Flash. It literally removes an entire attack vector without adding a new one. If there's an exploitable vulnerability in Firefox's JS engine, you're vulnerable to it regardless of whether you run Shumway or not — but if there's an exploitable vulnerability in Flash, you aren't vulnerable if you're running Shumway instead.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by reissbaker on Wednesday October 02, 2013 @09:43PM (#6486608)
The attack surface isn't increased. If you can exploit the vulnerability using Shumway, you could also exploit the vulnerability using vanilla JS — because Shumway is just Javascript. Shumway doesn't allow new exploits that are impossible without Shumway.

Shumway decreases the attack surface of Firefox for general-purpose browsing: most people would install Flash otherwise, and this way that (infamously broad) attack vector is removed.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by richardjs on Wednesday October 02, 2013 @11:59AM (#6483217)
Fair enough. You have to be careful taking this argument too far, though, or you end up saying something like no other browser besides IE should be developed, because it increases the attack surface.

Ultimately, individual users have to take charge of their own individual attack surface. If switching from one Flash player to another increases their personal security, it's a good thing.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by Tloewald on Wednesday October 02, 2013 @01:42PM (#6483972)
Fair point. Any argument taken to extremes is probably a bad thing.

In general, I'd say replacing things with emulations of things is not a good way to get better reliability, performance, or security -- now you have bugs in the original thing and the emulation of the thing to consider.

In this case, the emulation lives within a restricted runtime environment and the real thing doesn't. But that's a performance / resource consumption / convenience / compatibility hit in exchange for "security", and those tend to fail simply because most people like their performance / resource consumption / convenience / compatibility.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by X4 on Thursday October 03, 2013 @12:09AM (#6487113)
s/Windows/Linux/g

thanks :) I, Gabe Newell and many others would like to see this happen.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by Anonmattymous on Wednesday October 02, 2013 @10:11AM (#6482463)
Agreed, I feel like by building things like this it just hampers all the work that is being built to replace flash. The best way to change things is to make it so that learning HTML5 and JavaScript becomes worth it, and that is easily done by just not supporting flash.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Wednesday October 02, 2013 @10:33AM (#6482602)
I think this is aimed at legacy support, I don't think anyone would target this as a supported runtime.

Ironically most of the useful flash applications/games etc wouldn't run on these runtimes as they are using features not supported in HTML5. This sort of thing works best for crappy adverts and banners, which no one really wants anyway. This is highlighted by the fact the big competitor (Gordon?) is developed by the Google ad sense team ;)

Re:HTML5 Flash Player (Shumway) lands in Mozilla by nthitz on Thursday October 03, 2013 @01:02AM (#6487280)
According to this Shumway was based on Gordon. http://www.geek.com/news/mozillas-shumway-project-replaces-f...

And you remember who Gordon Shumway is right? ( https://en.wikipedia.org/wiki/ALF_(TV_series) )

Re:HTML5 Flash Player (Shumway) lands in Mozilla by willvarfar on Wednesday October 02, 2013 @11:08AM (#6482834)
What features are they using that html5 doesn't cover?

I'm genuinely curious, as I do a bit of html5/webgl and formerly did a lot of flash/haxe, so I'm wondering what I missed...

Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Wednesday October 02, 2013 @12:52PM (#6483641)
Lets say DRM video for arguments sake.

However there are other things, like webcam/device support, some audio stuff, filters that may be very slow on a canvas and hard to run in WebGL inside other panes (overlays etc).

Re:HTML5 Flash Player (Shumway) lands in Mozilla by X4 on Thursday October 03, 2013 @12:13AM (#6487126)
I'm glad DRM isn't globally accepted by the W3C Consortium, but I'm sure beneficiaries like Google, Adobe and Microsoft heavily try to subvert that state.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by willvarfar on Thursday October 03, 2013 @01:07AM (#6487289)
But Flash DRM is, like all DRM in the face of a hostile end-user, ineffective. Nobody has any problems using the plethora of tools that strip DRM from Flash video, right?
Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Thursday October 03, 2013 @04:01AM (#6487695)
If it appeases the rights holders into allowing their video on the web I'm happy.

Users want to watch videos, they don't care about the technology under the hood.

Do you ever try and watch youtube videos that say, "this video isn't available on your device"...

Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Wednesday October 16, 2013 @10:27AM (#6559809)
Just saw this answer to another question about the technology:

https://news.ycombinator.com/item?id=6558539

I guess you could ask him for more details.

Re:HTML5 Flash Player (Shumway) lands in Mozilla by Tloewald on Wednesday October 02, 2013 @10:52AM (#6482726)
If it were widely adopted, people would target it. If it's not widely adopted, who cares?
Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Wednesday October 02, 2013 @01:04PM (#6483711)
It's adopted by having a HTML 5 compliant browser, at which point you would just use HTML 5 tools.

Unless you really loved the flash IDE which I guess some people do...

Re:HTML5 Flash Player (Shumway) lands in Mozilla by Sanddancer on Thursday October 03, 2013 @02:13AM (#6487463)
There's also a lot of flash out there generated through things like libming that people either can't or won't rewrite to use html5.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Thursday October 03, 2013 @04:12AM (#6487718)
I expect there will be a new lib to replace that, I guess this would bridge the gap for those who don't update. I doubt ming would target this runtime though, would be very inefficient.
Re:HTML5 Flash Player (Shumway) lands in Mozilla by CmonDev on Wednesday October 02, 2013 @11:59AM (#6483215)
So the best way to change things is to leave no choice? Dictator-style?
Re:HTML5 Flash Player (Shumway) lands in Mozilla by robmcm on Wednesday October 02, 2013 @10:10AM (#6482457)
Closing your browser trumps it though...