SolrApplication · Apache

CVE-2023-50298

HIGH · 7.5 CVSS v3.1 Published 2024-02-09
Fix available
A fix is available. Upgrade to 8.11.3 / 9.4.1 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache Solr Streaming Expressions with zkHost parameter inadvertently sends ZooKeeper credentials and ACLs to arbitrary server addresses, allowing attackers to set up mock ZooKeeper servers to capture these credentials. The vulnerability is exploitable through the /streaming handler which requires only read permissions.

MitigationUpgrade to Apache Solr 8.11.3 or 9.4.1, which restricts ZooKeeper credential/ACL usage to zkHost values with matching server addresses. Until upgraded, restrict access to the /streaming handler.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
SolrApplication
Affected:>= 6.0.0, < 8.11.3>= 9.0.0, < 9.4.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Solr version
    Run 'solr -v' or check the Solr admin UI version display, or look for the version in solr-*.jar filenames in the installation directory
    Affected if The installed version is >= 6.0.0 and < 8.11.3, OR >= 9.0.0 and < 9.4.1
  2. Verify /streaming handler is accessible
    Check if the /streaming request handler is enabled in solrconfig.xml. Look for a <requestHandler name='/streaming' ...> entry in the configuration
    Affected if The /streaming handler is enabled and publicly or semi-publicly accessible on the network
  3. Confirm ZooKeeper credentials or ACLs are configured
    Examine the Solr configuration for zkCredentials or zkACLs settings, typically found in solr.xml or in the zkHost parameter within streaming expressions
    Affected if ZooKeeper credentials or ACLs are configured and could be transmitted via the zkHost parameter
  4. Check for zkHost usage in streaming expressions
    Review any streaming expression definitions or historical queries that use the zkHost parameter, particularly those that may point to external or uncontrolled ZooKeeper addresses
    Affected if zkHost parameter is used with addresses outside your trusted ZooKeeper infrastructure

You are affected if you run a vulnerable Solr version (6.x through 8.11.2 or 9.x through 9.4.0), have the /streaming handler accessible, and use ZooKeeper credentials/ACLs with potentially untrusted zkHost addresses

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 8.11.3 / 9.4.1 or later
Fixed in 8.11.39.4.1
Interim mitigation

Upgrade to Apache Solr 8.11.3 or 9.4.1, which restricts ZooKeeper credential/ACL usage to zkHost values with matching server addresses. Until upgraded, restrict access to the /streaming handler.

Recommended fix High confidence

8.11.3 for 8.x users; 9.4.1 for 9.x users

  1. 1. Identify the current Apache Solr version in use by checking the Solr admin UI or the solr version file
  2. 2. If running version 6.x, plan migration to version 8.11.3 (or later 8.x) as Solr 6.x is end-of-life
  3. 3. If running version 8.0.0 through 8.11.2, upgrade to version 8.11.3
  4. 4. If running version 9.0.0 through 9.4.0, upgrade to version 9.4.1
  5. 5. Download the appropriate Solr release from the official Apache Solr downloads page (solr.apache.org/downloads.html)
  6. 6. Test the upgrade in a non-production environment first
  7. 7. Back up all Solr data, configurations, and ZooKeeper znodes before upgrading
  8. 8. Stop the Solr service
Caveat Upgrading from Solr 6.x to 8.x may introduce breaking changes due to major version differences; test thoroughly before production deployment

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Solr Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-50298 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-50298 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data