News for hackers. Stuff that matters.
Re:Elsevier Left Users’ Passwords Exposed Online by j_anstice on Monday March 18, 2019 @05:28PM (#19425504)
I don't think this is a mis-configured server - this is expected behavior for elastic search, as the OSS version has no security baked in to it - any security at all is an enterprise feature. This is irresponsible from elastic.co.
Re:Elsevier Left Users’ Passwords Exposed Online by jfindley on Monday March 18, 2019 @05:57PM (#19425748)
No. Plain text user passwords should never, in any circumstances, be entered into a search engine (which is what elasticsearch is). There is simply no possible excuse for this. There is no way this is elastic.co's fault, this is entirely on Elsevier.
Re:Elsevier Left Users’ Passwords Exposed Online by eythian on Tuesday March 19, 2019 @10:58AM (#19431380)
You're right, but it is easy to do by accident. Log a stacktrace that includes some function arguments, and one of them is the password...

Now, it's possible to avoid this, but it's hard to avoid this completely in a complicated system.

Re:Elsevier Left Users’ Passwords Exposed Online by j_anstice on Monday March 18, 2019 @07:37PM (#19426476)
I agree that the passwords should not be logged in any circumstances (if I had to guess, I might suspect that disk log files were ingested straight to elasticsearch), but I don't think this invalidates my argument that elasticsearch out of the box is not suitable for any data you intend to not share with the world.
Re:Elsevier Left Users’ Passwords Exposed Online by munk-a on Monday March 18, 2019 @08:21PM (#19426778)
There is a separate thread about security best practice learning that touches on the question of if the rote security knowledge we pass on is making it more likely that someone logs a password. I think a discussion around logging habits is much more relevant and while elasticsearch may have _also_ been misconfigured, pumping passwords into an internally viewable log file is a bad idea even if that file is well secured.
Re:Elsevier Left Users’ Passwords Exposed Online by progval on Monday March 18, 2019 @06:09PM (#19425858)
Elsevier could also buy a subscription instead of using it for free. It's not like they don't have the money.