CVE-2024-23445 Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions
Attackers can bypass search restrictions in Elasticsearch cross-cluster API keys, accessing unauthorized documents and terms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-23445?
CVE-2024-23445 is a medium-severity missing authorization vulnerability in Elastic Elasticsearch, published on 12 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
It was identified that if a cross-cluster API key https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-create-cross-cluster-api-key.html#security-api-create-cross-cluster-api-key-request-body restricts search for a given index using the query or the field_security parameter, and the same cross-cluster API key also grants replication for the same index, the search restrictions are not enforced during cross cluster search operations and search results may include documents and terms that should not be returned.
This issue only affects the API key based security model for remote clusters https://www.elastic.co/guide/en/elasticsearch/reference/8.14/remote-clusters.html#remote-clusters-security-models that was previously a beta feature and is released as GA with 8.14.0
Weakness: CWE-922
Which versions are affected by CVE-2024-23445?
1 open source package ship an affected version, including elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
elasticsearch Bitnami | From 8.10.0 | 8.14.0 |
Products include Elastic Elasticsearch.
How do I fix CVE-2024-23445?
Upgrade elasticsearch to 8.14.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-23445 being exploited?
There is no known exploitation of CVE-2024-23445 in the wild and no public exploit code.
Other vulnerabilities in Elastic Elasticsearch
- CVE-2015-1427 Elasticsearch Groovy Scripting Engine Remote Code Execution
- CVE-2014-3120 Elasticsearch Remote Code Execution
- CVE-2015-5377 Code injection in n/a
- CVE-2026-72649 Deserialization of Untrusted Data in Elasticsearch Leading to Remote Code Execution
- CVE-2026-72642 Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process
Sources
Also known as BIT-elasticsearch-2024-23445, UBUNTU-CVE-2024-23445.