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

Etherpad - Plain Text passwords #874

Closed
OnGle opened this issue Jun 30, 2017 · 7 comments
Closed

Etherpad - Plain Text passwords #874

OnGle opened this issue Jun 30, 2017 · 7 comments

Comments

@OnGle
Copy link
Member

OnGle commented Jun 30, 2017

[update by @JedMeister] Due to #1132 - Etherpad will be deprecated and not released as part of v15.0 😢 As such, this issue is being closed and marked "won't fix".

[updated update] Actually... I just posted an update


somewhat related to #813

As of turnkeylinux-apps/etherpad#10 part of this issue has been resolved (don't reveal settings file to admins). However, I think that we should consider adding the "no clear text passwords" plugin for v15.0 release of etherpad.

@JedMeister


Our etherpad appliance runs off nodejs app etherpad-lite (https://github.com/ether/etherpad-lite) which stores the administrator password in plaintext. Moreover the administrative users have read/write access to the settings.json file from within the admin interface, the same file which stores the plaintext passwords, allowing any authenticated administrator to read any user's password from any location.

It also appears that there is or seems to be no way to logout of the admin user.

Upstream seems to consider this concerning security risk as non-core functionality and has closed the related issue in preferance of a third party plugin for hashing password, see ether/etherpad-lite#1650

To ensure our users don't enable admin without understanding the security implications, we've decided to disable easy setting of admin password. And document the risks of enabling it.

@JedMeister
Copy link
Member

JedMeister commented Jun 30, 2017

Good work @OnGle It seems that the plugin noted in that thread does essentially resolve the issue. FWIW, here it is. Perhaps we should consider including that for the next release?

Although IMO the fact that the issue has been "closed" via release of a third party plugin is somewhat concerning. The default behaviour of etherpad remains broken (WRT security) and it appears there is no plan to fix it.

Perhaps I'm missing something, but I don't understand why this isn't considered a critical bug worthy of resolving within the core code. It makes me wonder what other short cuts may have been taken WRT security (that just haven't been noticed yet)?!?

@JedMeister
Copy link
Member

Looks like the plain text passwords also appear in the logfiles unless log level is < INFO...

see ether/etherpad-lite#2216

@OnGle
Copy link
Member Author

OnGle commented Jul 2, 2017

It might be a good idea to ship with the plugin, it's probably not secure still but it can't be much worse than plaintext.

As far as the logs go, I'll check that out today and attempt to reproduce that.

@OnGle
Copy link
Member Author

OnGle commented Jul 2, 2017

Ok so as far as logs go, I couldn't reproduce passwords appearing in logs at INFO, it might be worth testing that it still occures in DEBUG at some point but considering we default to WARN it probably wont be an issue.

@JedMeister
Copy link
Member

Due to #1132 (deprecating Etherpad) - this issue is somewhat irrelevant. Closing

@JedMeister
Copy link
Member

Ok, as per my update on #1132 I'm reopening this (and removing "won't fix"). Also adding discussion to #1132

@JedMeister JedMeister reopened this Aug 2, 2018
@OnGle OnGle modified the milestones: 15.0, 15.1 Oct 30, 2018
@JedMeister JedMeister modified the milestones: 15.1, 16.0 Mar 26, 2020
@JedMeister
Copy link
Member

We've settled on adding the ep_hash_auth plugin to workaround this issue. As noted in previous discussion, we'd still prefer if user management was core functionality, but it's good enough. Etherpad itself is such great software, it's been a pity not having it in the library and it's great to have it back for v16.0! 👍

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

No branches or pull requests

2 participants