r/programming • • Feb 23 '19

Microsoft Edge lets Facebook run Flash code behind users' backs

https://www.zdnet.com/article/microsoft-edge-lets-facebook-run-flash-code-behind-users-backs/
1.5k Upvotes

113 comments sorted by

View all comments

296

u/evmar Feb 23 '19

I don't know anything about this particular incident, but having worked on a browser before, it's plausible that the whitelist was to keep some FB feature working while they tightened the screws on Flash, perhaps in cooperation with some promise from FB to change their site in the near future. This is not unheard of in browsers.

175

u/Otterfan Feb 23 '19

Yes, Chrome still has a vendor-negotiated Flash whitelist and I believe Firefox did at one point as well (and might have one now). The problem with Edge's vendor-negotiated whitelist is that it's an insecure implementation.

0

u/[deleted] Feb 23 '19

[deleted]

-14

u/Banana_Hat Feb 23 '19

So is JavaScript

9

u/Pantzzzzless Feb 23 '19

You're comparing a high level language to a closed source piece of legacy software?

2

u/Banana_Hat Feb 23 '19

They both allow for insecure scripts to be delivered over the web. I'm not sure what makes you think they're fundamentally that different.

2

u/Pantzzzzless Feb 23 '19

Because a language in and of itself doesn't allow anything. It has to be written first. This is like saying words are insecure because you can tell people sensitive information with them.

-8

u/darkwingfuck Feb 23 '19

Both JavaScript and flash have runtimes that execute untrusted code from online with APIs for user interaction, media, and peripherals. Nothing about JavaScript guarantees a safe sand box. Chakra was only open sourced a few years ago, despite being used for years before that in ie and edge. Not that different. Also Google has proof of concept code that exploits Spectre in JavaScript.