Cyber Resilience

CVE-2023-50386

Apache Solr 6.0.0 – 8.11.3

High EPSS
Published
09 February 2024
Modified
24 April 2025
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.84 99.7th percentile
Risk Priority 90 floored blend · peak EPSS

Summary

CVE-2023-50386 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Apache Solr. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Reflective Code Loading (T1620); ranked in the top 0.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Apache Solr versions 6.0.0 through 8.11.2 and 9.0.0 before 9.4.1 contain an improper control of dynamically-managed code resources vulnerability, also described as unrestricted upload of files with dangerous types and inclusion of functionality from an untrusted control sphere. In these releases the ConfigSets API accepts Java jar and class files, which are persisted to disk during collection backups that use the default LocalFileSystemRepository; when the backup target lies on a ClassPath or ClassLoader directory, the uploaded artifacts become loadable by any ConfigSet.

An authenticated user who can invoke both the ConfigSets API and the Backup API can therefore place executable code where it will be available to trusted or untrusted configurations alike. When Solr is operated with authorization enabled, the impact is narrowed to an extension of backup privileges that permits addition of arbitrary libraries.

Official guidance from the Apache Solr security page and the coordinated oss-security disclosure recommends immediate upgrade to 8.11.3 or 9.4.1. These releases block upload of files that a Java ClassLoader can execute and restrict the Backup API from writing into ClassLoader directories. The EPSS score has remained near its observed peak of 0.8882 with a current value of 0.8684.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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,…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1620 Reflective Code Loading Stealth
Adversaries may reflectively load code into a process in order to conceal the execution of malicious payloads.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-22444Same product: Apache Solr
CVE-2021-27905Same product: Apache Solr
CVE-2024-45216Same product: Apache Solr
CVE-2024-52012Same product: Apache Solr
CVE-2025-24814Same product: Apache Solr
CVE-2024-45217Same product: Apache Solr
CVE-2020-13957Same product: Apache Solr
CVE-2026-44825Same product: Apache Solr
CVE-2026-22022Same product: Apache Solr
CVE-2023-50291Same product: Apache Solr

Affected Assets

apache
solr
6.0.0 — 8.11.3 · 9.0.0 — 9.4.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V5.1.1

Mitigating Controls (NIST 800-53 r5) AI

Access enforcement directly stops unauthorized reads/writes to dynamic code resources by applying authorization checks at access time.

Least privilege reduces the set of subjects that can reach or modify dynamic code resources, limiting the weakness's reach.

Malicious-code protection at entry points blocks dangerous file types from being accepted and executed.

Least functionality restricts the file types and automatic processing capabilities the system will accept.

SC-18 Mobile Code partial match

Mobile-code controls define, authorize, and block unacceptable uploaded code before automatic processing occurs.

Isolating security functions from non-security code prevents unintended manipulation of dynamically managed executable resources.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure SDLC practices explicitly include controls that prevent improper handling of dynamic code resources.

PR.PS-05 mostly match
prevents

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

DE.CM-09 partial match
prevents

Runtime-environment monitoring can detect exploitation of the weakness but does not prevent it.

ID.RA-01 partial match
prevents

Vulnerability identification can surface instances of CWE-913 but does not mitigate the root weakness.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce allowed file types and processing rules.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Configuration and acceptance testing verify that file-upload handling enforces allowed types and does not permit dangerous content to be stored or executed.

prevents

Secure-coding guidelines and security testing explicitly address restrictions on allowed file types and upload handling, reducing the risk that dangerous file uploads are accepted without validation.

prevents

Application security requirements explicitly address restrictions on dynamic code execution and resource access.

prevents

Secure architecture principles require design controls that prevent improper dynamic code resource manipulation.

prevents

Secure coding standards directly prohibit unsafe dynamic code resource handling and injection patterns.

prevents

Mandated testing for malicious content and known vulnerabilities reduces the likelihood that an outsourced component will contain or accept dangerous file types that could later be uploaded or executed.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows 10 (1 rule)
  • V-220726 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-913
Windows 11 (1 rule)
  • V-253283 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-913

References