CVE-2023-23612
OpenSearch Whitespace Role Impersonation Vulnerability
Description
OpenSearch is an open source distributed and RESTful search engine. OpenSearch uses JWTs to store role claims obtained from the Identity Provider (IdP) when the authentication backend is SAML or OpenID Connect. There is an issue in how those claims are processed from the JWTs where the leading and trailing whitespace is trimmed, allowing users to potentially claim roles they are not assigned to if any role matches the whitespace-stripped version of the roles they are a member of. This issue is only present for authenticated users, and it requires either the existence of roles that match, not considering leading/trailing whitespace, or the ability for users to create said matching roles. In addition, the Identity Provider must allow leading and trailing spaces in role names. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. There are no known workarounds for this issue.
INFO
Published Date :
Jan. 26, 2023, 9:18 p.m.
Last Modified :
Nov. 21, 2024, 7:46 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-23612
.
URL | Resource |
---|---|
https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0 | Third Party Advisory |
https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj | Third Party Advisory |
https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0 | Third Party Advisory |
https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-23612
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-23612
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0 Added Reference https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0 No Types Assigned https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0 Third Party Advisory Changed Reference Type https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj No Types Assigned https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj Third Party Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:a:amazon:opensearch:*:*:*:*:*:-:*:* versions from (including) 1.0.0 up to (excluding) 1.3.8 *cpe:2.3:a:amazon:opensearch:*:*:*:*:*:-:*:* versions from (including) 2.0.0 up to (excluding) 2.5.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-23612
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-23612
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.01%
score
0.40708
percentile