是什么
Elasticsearch、OpenSearch 之类的搜索/索引引擎。
为何有风险
未认证的集群暴露在互联网上,全部索引都可被读取或删除,还可能导致脚本执行。
应对措施
启用安全插件或认证,并把 HTTP(9200)与传输(9300)端口限制在内网。
您的服务器是否在监听?
Linux
ss -ltnp 'sport = :9200'Elasticsearch 的已知漏洞
| CVE | 标题 | CVSS | 被利用 | EPSS | 发布日期 |
|---|---|---|---|---|---|
| CVE-2015-1427 | The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to by... | 9.8 | KEV | 99.9% | 2015-02-18 |
| CVE-2014-3120 | The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers... | 8.1 | KEV | 88.6% | 2014-07-29 |
| CVE-2015-5377 | Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via unspecified vectors involving... | 9.8 | — | 2018-03-07 | |
| CVE-2018-3831 | Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue... | 8.8 | — | 2018-09-20 | |
| CVE-2020-7009 | Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if a... | 8.8 | — | 2020-04-01 | |
| CVE-2020-7014 | The fix for CVE-2020-7009 was found to be incomplete. Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to... | 8.8 | — | 2020-06-04 | |
| CVE-2026-72642 | Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process | 8.8 | — | 2026-08-14 |