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

Disable dynamic querys by default, to avoid remote code execution. #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jannylund
Copy link
Contributor

Elasticsearch defaults to support dynamic querys, which introduces a risk for remote code execution. This is supposedly disabled by default in newer versions of ES, but for now, I suggest setting it to false in the default configuration is better than nothing.

For more information, please see http://bouk.co/blog/elasticsearch-rce/

Br,
Jan

@nboire
Copy link
Member

nboire commented Aug 5, 2014

Hello @jannylund,
For information, you can actually configure your specific settings of elacticsearch by define your specific config on your application.conf.

elasticsearch.config.resource="elasticsearch-specific.yml"

@jannylund
Copy link
Contributor Author

@nboire yes, I know, I did that in my app. But this still makes sense to disable unless someone specifically needs it activated.

@songoo
Copy link

songoo commented Feb 2, 2015

We got compromised server by this security hole, some default config after instalation would be welcomed in future.

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

Successfully merging this pull request may close these issues.

3 participants