OpenSearch 1.3/2.7 racecondition in finegrained ACL leads to auth bypass
CVE-2023-31141 Published on May 8, 2023

OpenSearch issue with fine-grained access control during extremely rare race conditions
OpenSearch is open-source software suite for search, analytics, and observability applications. Prior to versions 1.3.10 and 2.7.0, there is an issue with the implementation of fine-grained access control rules (document-level security, field-level security and field masking) where they are not correctly applied to the queries during extremely rare race conditions potentially leading to incorrect access authorization. For this issue to be triggered, two concurrent requests need to land on the same instance exactly when query cache eviction happens, once every four hours. OpenSearch 1.3.10 and 2.7.0 contain a fix for this issue.

Github Repository NVD

Vulnerability Analysis

CVE-2023-31141 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of 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.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is an AuthZ Vulnerability?

The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.

CVE-2023-31141 has been classified to as an AuthZ vulnerability or weakness.


Products Associated with CVE-2023-31141

stack.watch emails you whenever new vulnerabilities are published in Amazon Opensearch Security or Amazon Opensearch. Just hit a watch button to start following.

 
 

Affected Versions

opensearch-project security:

Vulnerable Packages

The following package name and versions may be associated with CVE-2023-31141

Package Manager Vulnerable Package Versions Fixed In
maven org.opensearch.plugin:opensearch-security >= 1.0.0, < 1.3.10.0 1.3.10.0
maven org.opensearch.plugin:opensearch-security >= 2.0.0, < 2.7.0.0 2.7.0.0

Exploit Probability

EPSS
0.54%
Percentile
67.85%

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.