CVE-2024-23445 Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
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
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/elasticsearch(Ubuntu 16.04) | = 1.6.2+dfsg-1; = 1.7.3+dfsg-1; = 1.7.3+dfsg-2; = 1.7.3+dfsg-3 +1 more | No fix listed | No fix yet |
| Elasticsearch | >= 8.10.0, < 8.14.0 | 8.14.0 | Fixed |
| org.elasticsearch/elasticsearch(Maven) | >= 8.10.0, < 8.14.0 | 8.14.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch/elasticsearch(Maven) | >= 8.10.0, < 8.14.0 | 8.14.0 |
| Elasticsearch | >= 8.10.0, < 8.14.0 | 8.14.0 |
| ubuntu/elasticsearch(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/elasticsearch(Ubuntu:16.04) | = 1.6.2+dfsg-1 | No fix listed |
| ubuntu/elasticsearch(Ubuntu:16.04) | = 1.7.3+dfsg-1 | No fix listed |
| ubuntu/elasticsearch(Ubuntu:16.04) | = 1.7.3+dfsg-2 | No fix listed |
| ubuntu/elasticsearch(Ubuntu:16.04) | = 1.7.3+dfsg-3 | No fix listed |
References
- nvd.nist.gov third-party-advisory
- discuss.elastic.co issue-tracking patch
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking