Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files
Description
Core creation allows users to replace "trusted" configset files with arbitrary configuration
Solr instances that (1) use the "FileSystemConfigSetService" component (the default in "standalone" or "user-managed" mode), and (2) are running without authentication and authorization are vulnerable to a sort of privilege escalation wherein individual "trusted" configset files can be ignored in favor of potentially-untrusted replacements available elsewhere on the filesystem. These replacement config files are treated as "trusted" and can use "" tags to add to Solr's classpath, which an attacker might use to load malicious code as a searchComponent or other plugin.
This issue affects all Apache Solr versions up through Solr 9.7. Users can protect against the vulnerability by enabling authentication and authorization on their Solr clusters or switching to SolrCloud (and away from "FileSystemConfigSetService"). Users are also recommended to upgrade to Solr 9.8.0, which mitigates this issue by disabling use of "" tags by default.
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:solr-coreMaven | < 9.8.0 | 9.8.0 |
Affected products
7- osv-coords6 versionspkg:apk/chainguard/solrpkg:apk/chainguard/solr-oci-compatpkg:apk/wolfi/solrpkg:apk/wolfi/solr-oci-compatpkg:bitnami/solrpkg:maven/org.apache.solr/solr-core
< 0+ 5 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 9.8.0
- (no CPE)range: < 9.8.0
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-68r2-fwcg-qpm8ghsaADVISORY
- lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-24814ghsaADVISORY
- www.openwall.com/lists/oss-security/2025/01/26/1ghsaWEB
- github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525ghsaWEB
- issues.apache.org/jira/browse/SOLR-16781ghsaWEB
- security.netapp.com/advisory/ntap-20250214-0002ghsaWEB
News mentions
0No linked articles in our index yet.