CVE-2024-23451 Elasticsearch Incorrect Authorization in the Remote Cluster Security API key based security model
A malicious user with a valid API key can read arbitrary documents from any index on a remote cluster using the custom transport protocol.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-23451?
CVE-2024-23451 is a medium-severity missing authorization vulnerability in Elastic Elasticsearch, published on 27 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Incorrect Authorization issue exists in the API key based security model for Remote Cluster Security, which is currently in Beta, in Elasticsearch 8.10.0 and before 8.13.0. This allows a malicious user with a valid API key for a remote cluster configured to use the new Remote Cluster Security to read arbitrary documents from any index on the remote cluster, and only if they use the Elasticsearch custom transport protocol to issue requests with the target index ID, the shard ID and the document ID. None of Elasticsearch REST API endpoints are affected by this issue.
Weakness: CWE-863
Which versions are affected by CVE-2024-23451?
3 open source packages ship an affected version, including org.elasticsearch:elasticsearch and elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.elasticsearch:elasticsearch Maven | From 8.10.0 | 8.13.0 |
org.elasticsearch:elasticsearch Maven | From 8.10.0 | 8.13.0 |
elasticsearch Bitnami | From 8.10.0 | 8.13.0 |
Products include Elastic Elasticsearch.
How do I fix CVE-2024-23451?
Upgrade org.elasticsearch:elasticsearch to 8.13.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-23451 being exploited?
There is no known exploitation of CVE-2024-23451 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-23451, GHSA-r3hx-qfh5-r9m7, UBUNTU-CVE-2024-23451.