CVE-2023-50298Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions
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
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | lucene-solr | Fix pending | ||
| Debian 14 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Debian 13 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Debian 12 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2023-50298 |
| Maven library | org.apache.solr:solr-solrj | Fixed | 9.4.1 | GHSA-xrj7-x7gp-wwqr |
| Maven library | org.apache.solr:solr-solrj-streaming | Fixed | 8.11.3 | GHSA-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.
- Apache Software Foundation Apache Solr: affected: 6.0.0 to 8.11.2, 9.0.0 to before 9.4.1; fixed in
9.4.1
Vendor advisories:
- https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-cre… (vendor-advisory)
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
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.