CVE-2025-24814
Publication date 27 January 2025
Last updated 27 January 2025
Ubuntu priority
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
lucene-solr | 24.10 oracular |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Needs evaluation
|
|
18.04 LTS bionic |
Needs evaluation
|
|
16.04 LTS xenial |
Needs evaluation
|
Notes
rodrigo-zaiden
debian has disabled server components in 3.6.2+dfsg-23, so using that as fixed version.
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-24814
- https://solr.apache.org/security.html#cve-2025-24814-apache-solr-core-creation-with-trusted-configset-can-use-arbitrary-untrusted-files
- https://www.openwall.com/lists/oss-security/2025/01/26/1
- http://www.openwall.com/lists/oss-security/2025/01/26/1
- https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1