Skip to content
OpenAdvisories
High · 7.5 CVE-2023-50298 BIT-solr-2023-50298EUVD-2024-0771GHSA-xrj7-x7gp-wwqr

Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions

Published Feb 9, 2024 · Updated Feb 13, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Solr 6.0.0 – ≤ 8.11.2, 9.0.0 – < 9.4.1 9.4.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lucene-solr 3.6.2+dfsg-23 —
Debian 13 lucene-solr 3.6.2+dfsg-23 —
Debian 12 lucene-solr 3.6.2+dfsg-23 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid +1 32.0.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.solr:solr-solrj >= 9.0.0, < 9.4.1 9.4.1 GHSA-xrj7-x7gp-wwqr
Maven org.apache.solr:solr-solrj >= 6.0.0, < 8.11.3 8.11.3 GHSA-xrj7-x7gp-wwqr
Maven org.apache.solr:solr-solrj-streaming >= 9.0.0, < 9.4.1 9.4.1 GHSA-xrj7-x7gp-wwqr
Maven org.apache.solr:solr-solrj-streaming >= 6.0.0, < 8.11.3 8.11.3 GHSA-xrj7-x7gp-wwqr

Advisories 1

References