NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2023-50298: Apache Solr's Streaming Expressions allow users to extract data from other Solr Clouds

mediumCVSS 4.0 6.9 · 3.1 7.5GHSA-xrj7-x7gp-wwqr

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.

Published Feb 9, 2024 · Updated Aug 19, 2024

Affected packages

org.apache.solr:solr-solrj-streaming

Ecosystem
Maven
Affected
>= 9.0.0, < 9.4.1
Fixed in
9.4.1
Check
mvn dependency:tree -Dincludes=org.apache.solr:solr-solrj-streaming

org.apache.solr:solr-solrj-streaming

Ecosystem
Maven
Affected
>= 6.0.0, < 8.11.3
Fixed in
8.11.3
Check
mvn dependency:tree -Dincludes=org.apache.solr:solr-solrj-streaming

org.apache.solr:solr-solrj

Ecosystem
Maven
Affected
>= 9.0.0, < 9.4.1
Fixed in
9.4.1
Check
mvn dependency:tree -Dincludes=org.apache.solr:solr-solrj

org.apache.solr:solr-solrj

Ecosystem
Maven
Affected
>= 6.0.0, < 8.11.3
Fixed in
8.11.3
Check
mvn dependency:tree -Dincludes=org.apache.solr:solr-solrj

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to DanielRuf.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology