Re:Zero-click, wormable, cross-platform remote code executio...
by mwcampbell on Monday December 07, 2020 @10:40AM
(#25333181)
Thanks. I'd pay (moderately) for the more complicated answer. An ebook on Electron security might be a good idea.
[ Parent
| on HN ]
Re:Zero-click, wormable, cross-platform remote code executio...
by oskarsv on Monday December 07, 2020 @10:48AM
(#25333276)
I'm not an expert on Electron security!
But if not addressed to me, there is no need to pay, you can start here: - https://www.electronjs.org/docs/tutorial/security - https://github.com/electron/electron/security/advisories
As you can see there are plenty of considerations and pitfalls to take into account. Best option is to enable contextIsolation for everything.
Further, Electron security is closely tied to Chrome security so that is one deep rabbit hole
Re:Zero-click, wormable, cross-platform remote code executio...
by pjmlp on Monday December 07, 2020 @11:12AM
(#25333497)
Best Electron security is not using it in first place.
Re:Zero-click, wormable, cross-platform remote code executio...
by coldtea on Monday December 07, 2020 @12:46PM
(#25334649)
Yeah, let's stick with raw C/C++, that would be much safer...
Or maybe let's use some research language made by Wirth, and get access to all 10 of packages and 5 devs worldwide using it :-)
Re:Zero-click, wormable, cross-platform remote code executio...
by pjmlp on Monday December 07, 2020 @01:52PM
(#25335624)
For starters, leave it on the browser.
I didn't mention any programming language.
Re:Zero-click, wormable, cross-platform remote code executio...
by gitweb on Monday December 07, 2020 @01:02PM
(#25334882)
Telegram Desktop is a cross-platform C++ app. What similar remote code execution exploit has existed in the wild for it?
Re:Zero-click, wormable, cross-platform remote code executio...
by coldtea on Monday December 07, 2020 @01:45PM
(#25335508)
The exact same kind of RCE?
https://securelist.com/zero-day-vulnerability-in-telegram/83...
and others...
https://www.notebookcheck.net/Researchers-at-Symantec-discov...
Re:Zero-click, wormable, cross-platform remote code executio...
by gitweb on Monday December 07, 2020 @03:44PM
(#25337226)
One of them requires the user to click run on a file, much like running an EXE. The other, simply saves potentially malicious data to external storage which would then have to be run by a separate malicious third-party app. This are far from RCE exploits that execute immediately without poor user decision making, and Rust is not impervious to security exploits similar to these.
Re:Zero-click, wormable, cross-platform remote code executio...
by untog on Monday December 07, 2020 @03:55PM
(#25337390)
C'mon. Just because there is one C++ app without remote exploits doesn't mean all C++ apps are immune.
Re:Zero-click, wormable, cross-platform remote code executio...
by valand on Monday December 07, 2020 @01:32PM
(#25335352)
FYI it's not just PL that factors into security.
The engineers, for example.
Re:Zero-click, wormable, cross-platform remote code executio...
by MaxBarraclough on Monday December 07, 2020 @11:31AM
(#25333690)
Rather just keep it in the browser? ;-P