News for hackers. Stuff that matters.
Re:Discord Desktop App RCE by dvt on Sunday October 18, 2020 @11:27PM (#24823070)
Electron is going to get a lot of shit for this, but this is really Discord's screw-up for allowing third-party (e.g. not vetted) iframe embeds.. why would that ever be a good idea? CVE-2020-15174 is an interesting exploit (the only part I find pretty damning).
Re:Discord Desktop App RCE by pilif on Sunday October 18, 2020 @11:37PM (#24823120)
In the web context, iframes are reasonably safe (if you discount ad privacy issues).

One of the touted advantages of Electron is that you can use web technologies and thus have engineers familiar with web technologies working on your application.

It’s very easy to see a web developer do what is perfectly fine on the web.

Heck, this feature might even have been added for their web client and then brought over to the electron version, possibly unbeknownst to the original author of the feature.

No. I wouldn’t call this a bug screwup. Just another effect of the footgun that is electron

Re:Discord Desktop App RCE by dvt on Monday October 19, 2020 @01:12AM (#24823490)
> In the web context, iframes are reasonably safe (if you discount ad privacy issues).

This is a dubious claim; not sure how long you've been developing for the web, but iframes have had many many exploits fixed over the years. That's neither here nor there though, as Discord purports to be a native application and therefore should be extra careful.

Re:Discord Desktop App RCE by jrwr on Monday October 19, 2020 @09:01AM (#24825913)
You can say that about any major piece of tech being used on the internet, right down to the microcode running on your processor having issues. I mean, shit windows had ANOTHER ping of of death style exploit this month. Should we just stop using windows? What about all the linux exploits that exist?
Re:Discord Desktop App RCE by pjmlp on Monday October 19, 2020 @01:07AM (#24823465)
It is more like use ChromeOS technologies thus Web developers don't have to bother writing portable Web applications.

Slack doesn't do anything so amazing that cannot be a portable Web application, with the browser I already have installed.

Re:Discord Desktop App RCE by imtringued on Monday October 19, 2020 @03:56AM (#24824165)
That's the thing. In the web browser everything is isolated. With electron you get full access to the system.
Re:Discord Desktop App RCE by gfodor on Monday October 19, 2020 @12:22AM (#24823311)
It was Sketchfab which is basically the YouTube of 3D models, so not unreasonable to whitelist them for embeds.
Re:Discord Desktop App RCE by ptx on Monday October 19, 2020 @09:42AM (#24826267)
If embedding grants the site owner the ability to execute privileged code on my system, it is unreasonable. I wouldn't expect or want YouTube to gain full access to my system (or my user account at least) when I run a chat program.
Re:Discord Desktop App RCE by gfodor on Monday October 19, 2020 @10:49AM (#24826870)
it doesn't, unless there's a hole in the browser. which in this case, there was.
Re:Discord Desktop App RCE by ptx on Friday October 23, 2020 @04:22PM (#24873635)
If being on the whitelist doesn't grant any special privilege, why have a whitelist? I got the impression that it's for security, but I want my machine to be secure from YouTube as well.
Re:Discord Desktop App RCE by Vishnevskiy on Monday October 19, 2020 @12:44AM (#24823395)
We only allow iframes for a few sites and this was one of them.