p PatchFirst

CVE-2023-50298

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

CVSS 7.5 · High · EPSS 1.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="lucene-solr"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • apache solr

    Versions
    • ≥ 6.0.0, ≤ 8.11.2: Affected (semver)
    • ≥ 9.0.0, < 9.4.1: Affected (semver)

    Update to 9.4.1

  • lucene-solr Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

Original sources

Check your server →