Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-68r2-fwcg-qpm8: Apache Solr vulnerable to Execution with Unnecessary Privileges

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.

ghsa
#vulnerability#apache#git#java#auth#jira#maven
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2025-24814

Apache Solr vulnerable to Execution with Unnecessary Privileges

High severity GitHub Reviewed Published Jan 27, 2025 to the GitHub Advisory Database • Updated Jan 27, 2025

Package

maven org.apache.solr:solr-core (Maven)

Affected versions

< 9.8.0

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

  • https://nvd.nist.gov/vuln/detail/CVE-2025-24814
  • https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
  • http://www.openwall.com/lists/oss-security/2025/01/26/1
  • apache/solr@f492e24
  • https://issues.apache.org/jira/browse/SOLR-16781

Published to the GitHub Advisory Database

Jan 27, 2025

Last updated

Jan 27, 2025

ghsa: Latest News

GHSA-8qff-qr5q-5pr8: OpenPGP.js's message signature verification can be spoofed