Apache Solr: ConfigSets created during a backup restore command are trusted implicitly
Description
Insecure Default Initialization of Resource vulnerability in Apache Solr.
New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized.
This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization.
Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.solr:solrMaven | >= 6.6.0, < 8.11.4 | 8.11.4 |
org.apache.solr:solrMaven | >= 9.0.0, < 9.7.0 | 9.7.0 |
Affected products
3- osv-coords2 versions
>= 6.6.0, < 8.11.4+ 1 more
- (no CPE)range: >= 6.6.0, < 8.11.4
- (no CPE)range: >= 6.6.0, < 8.11.4
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-h7w9-c5vx-x7j3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-45217ghsaADVISORY
- solr.apache.org/security.htmlghsavendor-advisoryWEB
- svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webappghsaPACKAGE
- www.openwall.com/lists/oss-security/2024/10/15/9ghsaWEB
- issues.apache.org/jira/browse/SOLR-17418ghsaWEB
News mentions
0No linked articles in our index yet.