Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions
Description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1.
Solr Streaming Expressions allows users to extract data from other Solr Clouds, using a "zkHost" parameter. When original SolrCloud is setup to use ZooKeeper credentials and ACLs, they will be sent to whatever "zkHost" the user provides. An attacker could setup a server to mock ZooKeeper, that accepts ZooKeeper requests with credentials and ACLs and extracts the sensitive information, then send a streaming expression using the mock server's address in "zkHost". Streaming Expressions are exposed via the "/streaming" handler, with "read" permissions.
Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue. From these versions on, only zkHost values that have the same server address (regardless of chroot), will use the given ZooKeeper credentials and ACLs when connecting.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.solr:solr-solrj-streamingMaven | >= 9.0.0, < 9.4.1 | 9.4.1 |
org.apache.solr:solr-solrj-streamingMaven | >= 6.0.0, < 8.11.3 | 8.11.3 |
org.apache.solr:solr-solrjMaven | >= 9.0.0, < 9.4.1 | 9.4.1 |
org.apache.solr:solr-solrjMaven | >= 6.0.0, < 8.11.3 | 8.11.3 |
Affected products
12- osv-coords11 versionspkg:apk/chainguard/druidpkg:apk/chainguard/druid-compatpkg:apk/chainguard/solrpkg:apk/chainguard/solr-oci-compatpkg:apk/wolfi/druidpkg:apk/wolfi/druid-compatpkg:apk/wolfi/solrpkg:apk/wolfi/solr-oci-compatpkg:bitnami/solrpkg:maven/org.apache.solr/solr-solrjpkg:maven/org.apache.solr/solr-solrj-streaming
< 32.0.1-r1+ 10 more
- (no CPE)range: < 32.0.1-r1
- (no CPE)range: < 32.0.1-r1
- (no CPE)range: < 9.5.0-r0
- (no CPE)range: < 9.5.0-r0
- (no CPE)range: < 32.0.1-r1
- (no CPE)range: < 32.0.1-r1
- (no CPE)range: < 9.5.0-r0
- (no CPE)range: < 9.5.0-r0
- (no CPE)range: >= 6.0.0, < 8.11.3
- (no CPE)range: >= 9.0.0, < 9.4.1
- (no CPE)range: >= 9.0.0, < 9.4.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-xrj7-x7gp-wwqrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-50298ghsaADVISORY
- solr.apache.org/security.htmlghsavendor-advisoryWEB
- www.openwall.com/lists/oss-security/2024/02/09/2ghsaWEB
- www.openwall.com/lists/oss-security/2024/02/09/3ghsaWEB
- github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269ghsaWEB
- github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98ghsaWEB
- issues.apache.org/jira/browse/SOLR-17098ghsaWEB
News mentions
0No linked articles in our index yet.