GitHub Advisory Database
GHSA-mrfm-jxgf-2h6v
Elasticsearch Improper Access Control vulnerability
Details
The default configuration in Elasticsearch before 1.4.0.Beta1 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.elasticsearch:elasticsearch | All versions before 1.4.0.Beta1 (fixed in 1.4.0.Beta1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3120
- https://github.com/elastic/elasticsearch/issues/7151
- https://github.com/elastic/elasticsearch/pull/7642
- https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06
- https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12
- https://github.com/elastic/elasticsearch
- https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120
- 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
- http://bouk.co/blog/elasticsearch-rce
- http://www.exploit-db.com/exploits/33370
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce