7.5high
Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.55% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-xrj7-x7gp-wwqrBIT-SOLR-2023-50298
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Solr | from 6.0.0 up to 8.11.2, from 9.0.0 before 9.4.1 | CVE List |
| apache solr | from 6.0.0 up to 8.11.2, from 9.0.0 before 9.4.1, from 6.0.0 before 8.11.3 | CVE List, NVD |
| org.apache.solr:solr-solrj-streaming (Maven) | from 9.0.0 before 9.4.1, from 6.0.0 before 8.11.3 | GitHub Advisory Database |
| org.apache.solr:solr-solrj (Maven) | from 9.0.0 before 9.4.1, from 6.0.0 before 8.11.3 | GitHub Advisory Database |
| solr (Bitnami) | from 6.0.0 before 8.11.3, from 9.0.0 before 9.4.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Exposición de información confidencial a una vulnerabilidad de actor no autorizado en Apache Solr. Este problema afecta a Apache Solr: desde 6.0.0 hasta 8.11.2, desde 9.0.0 antes de 9.4.1. Solr Streaming Expressions permite a los usuarios extraer datos de otras nubes Solr, utilizando un parámetro "zkHost". Cuando SolrCloud original está configurado para usar las credenciales y ACL de ZooKeeper, se enviarán a cualquier "zkHost" que proporcione el usuario. Un atacante podría configurar un servidor para simular ZooKeeper, que acepte solicitudes de ZooKeeper con credenciales y ACL y extraiga la información confidencial, luego envíe una expresión de transmisión usando la dirección del servidor simulado en "zkHost". Las expresiones de transmisión se exponen a través del controlador "/streaming", con permisos de "lectura". Se recomienda a los usuarios actualizar a la versión 8.11.3 o 9.4.1, que soluciona el problema. A partir de estas versiones, solo los valores de zkHost que tengan la misma dirección de servidor (independientemente de chroot) utilizarán las credenciales y ACL proporcionadas de ZooKeeper al conectarse.
References
| https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions | advisory, third-party-advisory, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2024/02/09/3 | discussion, mailing-list, web | |
| http://www.openwall.com/lists/oss-security/2024/02/09/2 | discussion, mailing-list, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-50298 | advisory, web | |
| https://github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269 | web | |
| https://github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98 | web | |
| https://github.com/apache/solr | package | |
| https://issues.apache.org/jira/browse/SOLR-17098 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-50298 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xrj7-x7gp-wwqr changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-50298 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SOLR-2023-50298 changed 2026-09-08 | Apache-2.0 |