CyberSecBulletin
CVE-2024-45217NVD status: Analyzed

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Apache Solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
  2. Update Solr to 8.11.4 or 9.7.0, whichever matches your release line, or a later version.
  3. Read the advisory on solr.apache.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
ApacheApache Solr6.6.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.08.11.4, 9.7.0
ApacheSolr6.6.0 up to, but not including, 8.11.4; 9.0.0 up to, but not including, 9.7.08.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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Apache Solr

All Apache Solr vulnerabilities

Recent Initialization of a Resource with an Insecure Default vulnerabilities

Spotted an error? Tell us.