CVE-2025-24814
solr: org.apache.solr: Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files
Overview
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 "<lib>" 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 "<lib>" tags by default.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Weakness: CWE-250
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | solr | <9.8.0 | 9.8.0 |
| Maven | org.apache.solr:solr-core | <9.8.0 | 9.8.0 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | lucene-solr | 3.6.2+dfsg-23 |
| 12 | lucene-solr | 3.6.2+dfsg-23 |
| 13 | lucene-solr | 3.6.2+dfsg-23 |
| 14 | lucene-solr | 3.6.2+dfsg-23 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| lucene-solr | 3.6.2+dfsg-23 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/01/26/1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-24814
- github.com https://github.com/apache/solr
- github.com https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
- issues.apache.org https://issues.apache.org/jira/browse/SOLR-16781
- lists.apache.org https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-24814
- security.netapp.com https://security.netapp.com/advisory/ntap-20250214-0002
- security.netapp.com https://security.netapp.com/advisory/ntap-20250214-0002/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-24814
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.