漏洞描述
ElasticSearch是一个基于Lucene构建的开源,分布式,RESTful搜索引擎。
Elasticsearch用的脚本引擎是MVEL,该引擎的默认配置打开了动态脚本功能,导致攻击者可以利用工具执行任意代码。
解决建议
官方会在1.2版本默认关闭动态脚本,请登录官网及时下载更新:
https://github.com/elasticsearch/elasticsearch/issues/5853
https://github.com/elasticsearch/elasticsearch/issues/5853
参考链接
http://bouk.co/blog/elasticsearch-rce/
http://www.exploit-db.com/exploits/33370
http://www.osvdb.org/106949
http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
http://www.securityfocus.com/bid/67731
https://www.elastic.co/blog/logstash-1-4-3-released
https://www.elastic.co/community/security/
https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch