Apache Solr: Initialization of a Resource with an Insecure Default
CVE-2024-45217 is a high-severity initialization of a resource with an insecure default vulnerability in Apache Solr from Apache, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions 8.11.4, 9.7.0 as the first without the flaw, so updating Apache Solr to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.75% chance of exploitation within 30 days, higher than 55% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Apache Solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
- Update Solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
- Read the advisory on solr.apache.org for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | Apache Solr | 6.6.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.0 | 8.11.4, 9.7.0 |
| Apache | Solr | 6.6.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.0 | 8.11.4, 9.7.0 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. Scored by CISA (ADP).
Official description
Insecure Default Initialization of Resource vulnerability in Apache Solr. New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized. This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization. Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Initialization of a Resource with an Insecure Default
The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
More Initialization of a Resource with an Insecure Default vulnerabilities (CWE-1188)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other references
- openwall.com/lists/oss-security/2024/10/15/9Mailing List
Other vulnerabilities in Apache Solr
- 9.8 Critical severity
- 7.1 High severity
- 8.2 High severity
- 9.8 Critical severity
- 8.8 High severity
- 7.5 High severity
Recent Initialization of a Resource with an Insecure Default vulnerabilities
- 8.1 High severity
- 9.8 Critical severity
- 7.5 High severity
- 7.8 High severity
- 7.5 High severity
- 9.1 Critical severity
Spotted an error? Tell us.