CVE-2023-50292: Solr core Apache Solr Schema Designer Blindly Vulnerability
LOWCVE-2023-50292 is a LOW apache solr schema designer blindly vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Solr core libraries in the Maven ecosystem. The issue involves apache solr schema designer blindly "trusts" all configsets. Remediation is available by upgrading affected packages to version 9.3.0, 8.11.3.
CVE-2023-50292 at a Glance
How to Fix CVE-2023-50292
To remediate this vulnerability, upgrade all affected Solr core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
<version>9.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
<version>8.11.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.solr
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-50292, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.solr
Analyze the terminal output to locate any version of Solr core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.3.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.solr command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Solr core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-50292 Affected Solr core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.solr:solr-core
|
Maven |
≥ 9.0.0
< 9.3.0
|
9.3.0
|
|
org.apache.solr:solr-core
|
Maven |
≥ 8.10.0
< 8.11.3
|
8.11.3
|
References
Frequently Asked Questions
What is CVE-2023-50292?
Which Solr core versions are affected?
What version fixes CVE-2023-50292?
Is solr-core affected?
What CWE is associated with CVE-2023-50292?
How can I check Maven dependencies for CVE-2023-50292?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4wxw-42wx-2wfx",
"modified" : "2024-02-09T22:16:44Z",
"published" : "2024-02-09T18:31:07Z",
"aliases" : [ "CVE-2023-50292" ],
"summary" : "Apache Solr Schema Designer blindly \"trusts\" all configsets",
"details" : "Incorrect Permission Assignment for Critical Resource, Improper Control of Dynamically-Managed Code Resources vulnerability in Apache Solr.\n\nThis issue affects Apache Solr from 8.10.0 through 8.11.2, from 9.0.0 before 9.3.0.\n\nThe Schema Designer was introduced to allow users to more easily configure and test new Schemas and configSets.\nHowever, when the feature was created, the \"trust\" (authentication) of these configSets was not considered.\nExternal library loading is only available to configSets that are \"trusted\" (created by authenticated users), thus non-authenticated users are unable to perform Remote Code Execution.\nSince the Schema Designer loaded configSets without taking their \"trust\" into account, configSets that were created by unauthenticated users were allowed to load external libraries when used in the Schema Designer.\n\nUsers are recommended to upgrade to version 9.3.0 or 8.11.3, both of which fix the issue.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.solr:solr-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.solr:solr-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.10.0"
}, {
"fixed" : "8.11.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50292"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/lucene-solr/commit/6e9ed203b30958396bdfd41760d426b386646865"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/solr/commit/d07751cfaa8065bea8bd43f59e758e50d50c2419"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/SOLR-16777"
}, {
"type" : "WEB",
"url" : "https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/02/09/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T21:16:51Z",
"nvd_published_at" : "2024-02-09T18:15:08Z"
}
}