OpenSearch Security 1.3.9/2.6.0 Timing Attack in Internal IdP
CVE-2023-25806 Published on March 2, 2023
Time discrepancy in authentication responses in OpenSearch
OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. There is an observable discrepancy in the authentication response time between calls where the user provided exists and calls where it does not. This issue only affects calls using the internal basic identity provider (IdP), and not other externally configured IdPs. Patches were released in versions 1.3.9 and 2.6.0, there are no workarounds.
Weakness Type
Observable Timing Discrepancy
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In security-relevant contexts, even small variations in timing can be exploited by attackers to indirectly infer certain details about the product's internal operations. For example, in some cryptographic algorithms, attackers can use timing differences to infer certain properties about a private key, making the key easier to guess. Timing discrepancies effectively form a timing side channel.
Products Associated with CVE-2023-25806
stack.watch emails you whenever new vulnerabilities are published in Amazon Opensearch or Amazon Opensearch Security. Just hit a watch button to start following.
Affected Versions
opensearch-project security:- Version < 1.3.9 is affected.
- Version >= 2.0.0, < 2.6.0 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-25806
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.opensearch.plugin:opensearch-security | < 1.3.9 | 1.3.9 |
| maven | org.opensearch.plugin:opensearch-security | >= 2.0.0, < 2.6.0 | 2.6.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.