Vulnerability · Published Feb 9, 2024 · Assigned by apache
CVE-2023-50298Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions
High 7.5
In plain English
A high-severity information exposure in Apache Solr from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lucene-solr | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Debian:13 | lucene-solr | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Debian:14 | lucene-solr | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Maven | org.apache.solr:solr-solrj | 9.4.1 | GHSA-xrj7-x7gp-wwqr |
| Maven | org.apache.solr:solr-solrj | 8.11.3 | GHSA-xrj7-x7gp-wwqr |
| Maven | org.apache.solr:solr-solrj-streaming | 9.4.1 | GHSA-xrj7-x7gp-wwqr |
| Maven | org.apache.solr:solr-solrj-streaming | 8.11.3 | GHSA-xrj7-x7gp-wwqr |
| Ubuntu:22.04:LTS | lucene-solr | 3.6.2+dfsg-24 | UBUNTU-CVE-2023-50298 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Solr | 6.0.0 – through 8.11.29.0.0 – before 9.4.1 |
Weakness: CWE-200, CWE-922 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N