CVE-2023-31127
Libspdm PSK Session Establishment Mutual Authentication Bypass
Description
libspdm is a sample implementation that follows the DMTF SPDM specifications. A vulnerability has been identified in SPDM session establishment in libspdm prior to version 2.3.1. If a device supports both DHE session and PSK session with mutual authentication, the attacker may be able to establish the session with `KEY_EXCHANGE` and `PSK_FINISH` to bypass the mutual authentication. This is most likely to happen when the Requester begins a session using one method (DHE, for example) and then uses the other method's finish (PSK_FINISH in this example) to establish the session. The session hashes would be expected to fail in this case, but the condition was not detected. This issue only impacts the SPDM responder, which supports `KEY_EX_CAP=1 and `PSK_CAP=10b` at same time with mutual authentication requirement. The SPDM requester is not impacted. The SPDM responder is not impacted if `KEY_EX_CAP=0` or `PSK_CAP=0` or `PSK_CAP=01b`. The SPDM responder is not impacted if mutual authentication is not required. libspdm 1.0, 2.0, 2.1, 2.2, 2.3 are all impacted. Older branches are not maintained, but users of the 2.3 branch may receive a patch in version 2.3.2. The SPDM specification (DSP0274) does not contain this vulnerability.
INFO
Published Date :
May 8, 2023, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 8:01 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
2.3
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-31127
.
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-31127
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-31127
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/DMTF/libspdm/pull/2006 Added Reference https://github.com/DMTF/libspdm/pull/2007 Added Reference https://github.com/DMTF/libspdm/security/advisories/GHSA-qw76-4v8p-xq9f -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 15, 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/DMTF/libspdm/pull/2006 No Types Assigned https://github.com/DMTF/libspdm/pull/2006 Patch Changed Reference Type https://github.com/DMTF/libspdm/pull/2007 No Types Assigned https://github.com/DMTF/libspdm/pull/2007 Patch Changed Reference Type https://github.com/DMTF/libspdm/security/advisories/GHSA-qw76-4v8p-xq9f No Types Assigned https://github.com/DMTF/libspdm/security/advisories/GHSA-qw76-4v8p-xq9f Vendor Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:a:dmtf:libspdm:*:*:*:*:*:*:*:* versions up to (excluding) 2.3.2
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-31127
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-31127
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.13 }} 0.66%
score
0.77106
percentile