5.4medium
Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.22% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-68r2-fwcg-qpm8BIT-SOLR-2025-24814
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Solr | up to 9.7 | CVE List |
| org.apache.solr:solr-core (Maven) | before 9.8.0 | GitHub Advisory Database |
| apache solr | before 9.8.0 | NVD |
| solr (Bitnami) | before 9.8.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Core creation permite a los usuarios reemplazar archivos de configuración "confiables" con instancias Solr de configuración arbitraria que (1) usan el componente "FileSystemConfigSetService" (el valor predeterminado en modo "autónomo" o "administrado por el usuario") y (2) se ejecutan sin autenticación ni autorización y son vulnerables a una especie de escalada de privilegios en la que los archivos de configuración "confiables" individuales pueden ignorarse a favor de reemplazos potencialmente no confiables disponibles en otras partes del sistema de archivos. Estos archivos de configuración de reemplazo se tratan como "confiables" y pueden usar etiquetas "" para agregarlos a la ruta de clase de Solr, que un atacante podría usar para cargar código malicioso como un searchComponent u otro complemento. Este problema afecta a todas las versiones de Apache Solr hasta Solr 9.7. Los usuarios pueden protegerse contra la vulnerabilidad habilitando la autenticación y la autorización en sus clústeres Solr o cambiando a SolrCloud (y dejando de lado "FileSystemConfigSetService"). También se recomienda a los usuarios actualizar a Solr 9.8.0, que mitiga este problema al deshabilitar el uso de etiquetas "" de forma predeterminada.
References
| https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1 | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/01/26/1 | advisory, mailing-list, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20250214-0002/ | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-24814 | advisory, web | |
| https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525 | web | |
| https://github.com/apache/solr | package | |
| https://issues.apache.org/jira/browse/SOLR-16781 | web | |
| https://security.netapp.com/advisory/ntap-20250214-0002 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-24814 changed 2025-02-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-68r2-fwcg-qpm8 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-24814 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SOLR-2025-24814 changed 2026-09-10 | Apache-2.0 |