Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions
CVE-2024-23445
Key Information:
- Vendor
Elastic
- Status
- CVE ID
- CVE ID:
- CVE-2024-23445
- Vendor
- CVE Published:
- 12 June 2024
- Fixed in
- Fixed in:
- 8.14.0
Timeline
Vulnerability published
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Elasticsearch. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.5).
What is CVE-2024-23445?
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
References
More Elastic Vulnerabilities
Input Validation Flaw in Kibana
Cross-site Scripting Vulnerability in Vega by Elastic
Privilege Escalation in Elastic Cloud Enterprise
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction