MODERATE 7.5

CVE-2023-50298

Apache Solr's Streaming Expressions allow users to extract data from other Solr Clouds

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.solr » solr-solrj
>= 6.0.0, < 8.11.3>= 9.0.0, < 9.4.1
8.11.3, 9.4.1
org.apache.solr » solr-solrj-streaming
>= 6.0.0, < 8.11.3>= 9.0.0, < 9.4.1
8.11.3, 9.4.1

Blast radius

2affected artifacts
1,677affected versions
2,023dependent artifacts (est.)
139,891dependent versions

50% of the dependent artifacts (1,020) still pull an affected version in their latest release.

DepthDependent versions
Direct
23,820
2 hops
51,505
3 hops
35,212
4 hops
18,630
5 hops
6,869
6 hops
3,855

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webissues.apache.org
Websolr.apache.org
Webopenwall.com
Webopenwall.com