CVE-2023-50386
Scores
EPSS
Percentile: 84.7%
CVSS
CVSS Score: 7.5/10
All CVSS Scores
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
High (H)
Describes the conditions beyond the attacker's control
Privileges Required
Low (L)
Describes the level of privileges an attacker must possess
User Interaction
None (N)
Captures the requirement for a human user participation
Scope
Unchanged (U)
Determines if a successful attack impacts components beyond the vulnerable component
Confidentiality Impact
High (H)
Measures the impact to the confidentiality of information
Integrity Impact
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Availability Impact
High (H)
Measures the impact to the availability of the impacted component
Description
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.
Scaner-VS 7 — a modern vulnerability management solution
Sources
CWEs
Related Vulnerabilities
Exploits
Exploit ID: CVE-2023-50386
Source: github-poc
URL: https://github.com/vvmdx/Apache-Solr-RCE_CVE-2023-50386_POC
Vulnerable Software (10)
Type: Configuration
Product: lucene-solr
Operating System: ubuntu bionic 18.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu focal 20.04
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu jammy 22.04
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu mantic 23.10
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu noble 24.04
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu trusty 14.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: ubuntu xenial 16.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: lucene-solr
Operating System: debian
{ "fixed": "3.6.2+dfsg-23"}
Source: debian
Type: Configuration
Product: lucene-solr
Operating System: debian buster 10
{ "unfixed": true}
Source: debian
Type: Configuration
Vendor: *
Product: solr
Operating System: * * *
{ "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.11.3", "versionStartIncluding": "6.0.0", "vulnerable": true }, {...
{ "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.11.3", "versionStartIncluding": "6.0.0", "vulnerable": true }, { "cpe23uri": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*", "versionEndExcluding": "9.4.1", "versionStartIncluding": "9.0.0", "vulnerable": true } ], "operator": "OR"}
Source: nvd