CVEfocus › CVE database › CVE-2023-50298

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

CVSS 7.5 HighEPSS 1.7% (higher than 78% of CVEs)Published 2024-02-09Updated 2025-02-13Assigner: apache

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.

CWE-200CWE-922

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 22.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 20.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 16.04lucene-solrFix pending
Debian 14lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50298
Debian 13lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50298
Debian 12lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2023-50298
Maven libraryorg.apache.solr:solr-solrjFixed9.4.1GHSA-xrj7-x7gp-wwqr
Maven libraryorg.apache.solr:solr-solrj-streamingFixed8.11.3GHSA-xrj7-x7gp-wwqr

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.