Vulnerabilities · 2025 · Apache
CVE-2025-24814
Apache Solr vulnerability
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 products
Solr. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Solr runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1 · Vendor Advisory
- www.openwall.com/lists/oss-security/2025/01/26/1 · Third Party Advisory
- security.netapp.com/advisory/ntap-20250214-0002/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-24814
- github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
- issues.apache.org/jira/browse/SOLR-16781
- security.netapp.com/advisory/ntap-20250214-0002
- github.com/advisories/GHSA-68r2-fwcg-qpm8
- nvd.nist.gov/vuln/detail/CVE-2025-24814
- cve.org/CVERecord?id=CVE-2025-24814
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.