Skip to content

Apache Solr

Apache Solr: Backup/Restore APIs allow for deployment of executables in malicious ConfigSets

CVE-2023-50386Published 9 Feb 2024, 17:28 UTC

Real-world risk

6.0/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.8

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from apache)

Improper Control of Dynamically-Managed Code Resources, Unrestricted Upload of File with Dangerous Type, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1. In the affected versions, Solr ConfigSets accepted Java jar and class files to be uploaded through the ConfigSets API. When backing up Solr Collections, these configSet files would be saved to disk when using the LocalFileSystemRepository (the default for backups). If the backup was saved to a directory that Solr uses in its ClassPath/ClassLoaders, then the jar and class files would be available to use with any ConfigSet, trusted or untrusted. When Solr is run in a secure way (Authorization enabled), as is strongly suggested, this vulnerability is limited to extending the Backup permissions with the ability to add libraries. Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue. In these versions, the following protections have been added: * Users are no longer able to upload files to a configSet that could be executed via a Java ClassLoader. * The Backup API restricts saving backups to directories that are used in the ClassLoader.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Apache SolrCommon>= 6.0.0, <= 8.11.2; >= 9.0.0, < 9.4.1; = 6.0.09.4.1

What to do

Update to a fixed version: 9.4.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Metasploit module (link)
  • CISA SSVC: proof of concept

EPSS 83.8% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T4: Weaponized1.000
  3. 10 × impact 1 × prerequisites 0.6 × threat 16.000
  4. Rounded to one decimal between 0.1 and 106.0

How the score works

Exploitation and evidence timeline

  1. 9 Feb 2024 Published
  2. 3 Dec 2026 Metasploit module first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 6.0 (cvss fallback)

Weakness

CWE-434, CWE-913

References

Get alerts for Apache Solr

Free email or text alerts when a vulnerability in Apache Solr reaches risk 8 or higher. Nothing else.