CVE-2023-50298: Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions

Published Feb 9, 2024
·
Updated

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.

Other sources

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.

MITRE

Affected Software

7 affected componentsFixes available
maven/org.apache.solr:solr-solrj>=6.0.0<8.11.3
8.11.3
maven/org.apache.solr:solr-solrj>=9.0.0<9.4.1
9.4.1
maven/org.apache.solr:solr-solrj-streaming>=6.0.0<8.11.3
8.11.3
maven/org.apache.solr:solr-solrj-streaming>=9.0.0<9.4.1
9.4.1
Apache Solr>=6.0.0<8.11.3
Apache Solr>=9.0.0<9.4.1
IBM IBM® Db2® on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data<=v4.8 v5.0v5.1v5.2v5.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.solr:solr-solrj to a version that resolves this vulnerability.

    Fixed in 8.11.3
  2. Upgrade

    Upgrade maven/org.apache.solr:solr-solrj to a version that resolves this vulnerability.

    Fixed in 9.4.1
  3. Upgrade

    Upgrade maven/org.apache.solr:solr-solrj-streaming to a version that resolves this vulnerability.

    Fixed in 8.11.3
  4. Upgrade

    Upgrade maven/org.apache.solr:solr-solrj-streaming to a version that resolves this vulnerability.

    Fixed in 9.4.1

Event History

Feb 9, 2024
CVE Published
via MITRE·05:29 PM
Data Sourced
via MITRE·05:29 PM
DescriptionWeakness
Advisory Published
via GitHub·06:31 PM
Jun 19, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-50298?

CVE-2023-50298 has a high severity level due to the potential exposure of sensitive data.

2

How do I fix CVE-2023-50298?

To remedy CVE-2023-50298, upgrade Apache Solr to version 8.11.3 or 9.4.1.

3

What software is affected by CVE-2023-50298?

CVE-2023-50298 affects Apache Solr versions between 6.0.0 and 8.11.3 and 9.0.0 to 9.4.1.

4

Can CVE-2023-50298 allow data extraction?

Yes, CVE-2023-50298 enables attackers to extract data from other Solr Clouds through Streaming Expressions.

5

Does CVE-2023-50298 expose Zookeeper credentials?

Yes, CVE-2023-50298 can expose Zookeeper credentials, leading to unauthorized access to sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203