Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-23612— Issue with whitespace in JWT roles in OpenSearch

Quick assessment

Affected
opensearch-project security
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenSearch Project是OpenSearch Project开源的一个社区驱动的、Apache 2.0许可的开放源代码搜索和分析套件。使其易于获取、搜索、可视化和分析数据。 OpenSearch 1.0.0版本至1.3.7版本、2.0.0版本至2.4.1版本存在授权问题漏洞,该漏洞源于在JWT中前导空格和尾随空格会被删除,如果用户创建的角色与他们所属角色的空白删除版本相同,则允许用户使用未分配给他们的角色。

CVSS 4.7 · Medium EPSS 0.80% · P55

Possible ATT&CK Techniques 1 AI

T1078.004 · Cloud Accounts
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-23612

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Issue with whitespace in JWT roles in OpenSearch
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
OpenSearch Project 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenSearch Project是OpenSearch Project开源的一个社区驱动的、Apache 2.0许可的开放源代码搜索和分析套件。使其易于获取、搜索、可视化和分析数据。 OpenSearch 1.0.0版本至1.3.7版本、2.0.0版本至2.4.1版本存在授权问题漏洞,该漏洞源于在JWT中前导空格和尾随空格会被删除,如果用户创建的角色与他们所属角色的空白删除版本相同,则允许用户使用未分配给他们的角色。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
opensearch-project security >= 2.0.0, < 2.5.0 -

II. Public POCs for CVE-2023-23612

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-23612

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-23612 (1)

Other References for CVE-2023-23612 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-23612

No comments yet


Leave a comment