CVE-2024-23445 Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
elasticsearch BitnamiFrom 8.10.08.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.

All Elastic Elasticsearch vulnerabilities

Sources

Also known as BIT-elasticsearch-2024-23445, UBUNTU-CVE-2024-23445.

Is CVE-2024-23445 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free