Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.solr/solr-core
  4. ›
  5. CVE-2025-24814

CVE-2025-24814: Apache Solr vulnerable to Execution with Unnecessary Privileges

January 27, 2025 (updated February 18, 2025)

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.

References

  • github.com/advisories/GHSA-68r2-fwcg-qpm8
  • github.com/apache/solr
  • github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
  • issues.apache.org/jira/browse/SOLR-16781
  • lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
  • nvd.nist.gov/vuln/detail/CVE-2025-24814
  • security.netapp.com/advisory/ntap-20250214-0002

Code Behaviors & Features

Detect and mitigate CVE-2025-24814 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.8.0

Fixed versions

  • 9.8.0

Solution

Upgrade to version 9.8.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-250: Execution with Unnecessary Privileges

Source file

maven/org.apache.solr/solr-core/CVE-2025-24814.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:32 +0000.