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)
| Artifact | Affected versions | Fixed 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
50% of the dependent artifacts (1,020) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.solr » solr-solrj784 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.solr » solr-core500 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.solr » solr-test-framework181 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.opencms » opencms-core134 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.apache.ranger » ranger-plugins-common98 usages
- org.intermine » bio-core96 usages
- org.apache.camel » camel-catalog87 usages
- it.uniroma2.art.semanticturkey » st-core-framework78 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.apache.ranger » ranger-plugins-audit66 usages
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
| Advisory | NVD CVE-2023-50298 | nvd.nist.gov |
| Package | apache/solr | github.com |
| Web | apache/lucene-solr commit 61c956c | github.com |
| Web | apache/solr commit e2bf1f4 | github.com |
| Web | jira/browse/SOLR-17098 | issues.apache.org |
| Web | security.html | solr.apache.org |
| Web | lists/oss-security/2024/02/09/2 | openwall.com |
| Web | lists/oss-security/2024/02/09/3 | openwall.com |
