CVE-2023-31127CWE-287CWE-372

DMTF-2023-0001: SPDM mutual authentication bypass

Critical · published May 8, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
60.7
In the wild
Unconfirmed
What it is

🚨 A crafty session bypass in libspdm could spell disaster! An attacker can exploit this flaw to establish sessions without proper mutual authentication, putting your devices at risk! 🔥 Think of it like a hotel where two types of guests can check-in — one has a fancy VIP pass and the other, a regular key. If a mischievous guest tries to sneak in using a hybrid of both passes, they could bypass the front desk's verification process and gain access to exclusive areas without proper credentials. If exploited, this vulnerability allows an attacker to establish a session without proper authentication, potentially leading to unauthorized access to critical system operations. This could allow for data interception or manipulation — a security nightmare that could compromise entire networks!

Put simply

Think of it like a hotel where two types of guests can check-in — one has a fancy VIP pass and the other, a regular key. If a mischievous guest tries to sneak in using a hybrid of both passes, they could bypass the front desk's verification process and gain access to exclusive areas without proper credentials. The vulnerability in libspdm arises during session establishment when a device supports both DHE session and PSK session with mutual authentication. An attacker could use a session-initiating method like DHE and then incorrectly finish with PSK_FINISH, bypassing expected session hash checks.

What to do

If exploited, this vulnerability allows an attacker to establish a session without proper authentication, potentially leading to unauthorized access to critical system operations. This could allow for data interception or manipulation — a security nightmare that could compromise entire networks! Update libspdm to version 2.3.1 or later immediately to close this vulnerability. Ensure that mutual authentication is enforced, and restrict the use of both KEY_EX_CAP and PSK_CAP settings as necessary. If you are on version 2.3, look for the patch in version 2.3.2 to protect your system. You've got this! With these steps, you can secure your systems and maintain your security hero status! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00943 · 60.7th percentile
Weaknesses
CWE-287 · Improper Authentication; CWE-372 · Incomplete Internal State Distinction
Published
2023-05-08T20:05Z
EPSS history
Timeline
  • 08 MAY 20:05Z
    DMTF-2023-0001: SPDM mutual authentication bypass
    cvelistv5