CVE-2023-50298
solr: possible exposure of ZooKeeper credentials via Streaming Expressions
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- 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
Weakness: CWE-200, CWE-922
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | solr | >=6.0.0, <8.11.3>=9.0.0, <9.4.1 | 8.11.39.4.1 |
| Maven | org.apache.solr:solr-solrj | >=9.0.0, <9.4.1>=6.0.0, <8.11.3 | 9.4.18.11.3 |
| Maven | org.apache.solr:solr-solrj-streaming | >=9.0.0, <9.4.1>=6.0.0, <8.11.3 | 9.4.18.11.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| druid | 32.0.1-r1 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | lucene-solr | affected |
| 11 | lucene-solr | 3.6.2+dfsg-23 |
| 12 | lucene-solr | 3.6.2+dfsg-23 |
| 13 | lucene-solr | 3.6.2+dfsg-23 |
| 14 | lucene-solr | 3.6.2+dfsg-23 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| lucene-solr | 3.6.2+dfsg-23 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| druid | 32.0.1-r1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/02/09/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/02/09/3
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-50298
- github.com https://github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269
- github.com https://github.com/apache/solr
- github.com https://github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98
- issues.apache.org https://issues.apache.org/jira/browse/SOLR-17098
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-50298
- solr.apache.org https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-50298
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.