OpenSearch FLS Field Exclusion Bypass in 1.0.0-1.3.7 & 2.0.0-2.4.1
CVE-2023-23613 Published on January 26, 2023
Field-level security issue with .keyword fields in OpenSearch
OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the implementation of field-level security (FLS) and field masking where rules written to explicitly exclude fields are not correctly applied for certain queries that rely on their auto-generated .keyword fields. This issue is only present for authenticated users with read access to the indexes containing the restricted fields. This may expose data which may otherwise not be accessible to the user. 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. Users unable to upgrade may write explicit exclusion rules as a workaround. Policies authored in this way are not subject to this issue.
Vulnerability Analysis
CVE-2023-23613 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is an Information Disclosure Vulnerability?
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVE-2023-23613 has been classified to as an Information Disclosure vulnerability or weakness.
Products Associated with CVE-2023-23613
Want to know whenever a new CVE is published for Amazon Opensearch? stack.watch will email you.
Affected Versions
opensearch-project security:- Version >= 2.0.0, < 2.5.0 is affected.
- Version < 1.3.8 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-23613
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.opensearch:opensearch-security | < 1.3.8 | 1.3.8 |
| maven | org.opensearch:opensearch-security | >= 2.0.0, < 2.5.0 | 2.5.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.