Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Disable nodeIntegration #1967

Closed
xmedeko opened this issue Feb 8, 2021 · 4 comments
Closed

[Security] Disable nodeIntegration #1967

xmedeko opened this issue Feb 8, 2021 · 4 comments

Comments

@xmedeko
Copy link

xmedeko commented Feb 8, 2021

Disable nodeIntegration - see

nodeIntegration: true,
Together with bug RocketChat/Rocket.Chat#20543 it's a serious security threat!

Update: I see the main window has nodeIntegration disabled, so it's seems OK

webPreferences.nodeIntegration = false;

@xmedeko xmedeko closed this as completed Feb 8, 2021
@xmedeko xmedeko reopened this Feb 8, 2021
@xmedeko xmedeko closed this as completed Feb 8, 2021
@xmedeko
Copy link
Author

xmedeko commented Feb 8, 2021

Note: the attacker has access to window.RocketChatDesktop and window.JitsiMeetElectron. So, he can e.g. create a desktop notification, and other stuff there. Which is a security issue but do not know it's severity.

@robbyoconnor
Copy link

robbyoconnor commented Feb 12, 2021

Why is this not happening on https://open.rocket.chat?

@xmedeko
Copy link
Author

xmedeko commented Feb 12, 2021

@robbyoconnor This issue is about security consequences of RocketChat/Rocket.Chat#20543 in Electron app. For the browser, this issue is inconvenient but has not such security implications.

@robbyoconnor
Copy link

@robbyoconnor This issue is about security consequences of RocketChat/Rocket.Chat#20543 in Electron app. For the browser, this issue is inconvenient but has not such security implications.

I understand. I'm trying to understand why it doesn't happen on RC's server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants