CVE-2023-28531CWE-284broken-access-control

CVE-2023-28531

Critical · published March 17, 2023

CVSS v3.1
9.8
EPSS
3%
Percentile
87.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky oversight in OpenSSH could let smartcard keys be added without the right restrictions – like a bouncer letting in guests who aren’t on the list! Think of an event where the security staff are supposed to check IDs at the door. If they let anyone in without verifying their credentials, it could lead to unauthorized access, and chaos could ensue! Without the intended destination constraints, an unauthorized user could potentially manipulate this flaw to add their own keys, gaining access to systems that should be secured. Imagine an uninvited party crasher who not only enters the event but also takes control of the entire dance floor!

Put simply

Think of an event where the security staff are supposed to check IDs at the door. If they let anyone in without verifying their credentials, it could lead to unauthorized access, and chaos could ensue! In OpenSSH versions prior to 9.3, the `ssh-add` command incorrectly allows smartcard keys to be added to the ssh-agent without enforcing the necessary per-hop destination constraints, leading to potential unauthorized access.

What to do

Without the intended destination constraints, an unauthorized user could potentially manipulate this flaw to add their own keys, gaining access to systems that should be secured. Imagine an uninvited party crasher who not only enters the event but also takes control of the entire dance floor! To mitigate this, update to OpenSSH version 9.3 or later as soon as possible. Regularly audit your key management practices and ensure that proper access controls are in place to prevent unauthorized additions to the ssh-agent. You’ve got this! Stay vigilant and keep your systems secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02990 · 87.2th percentile
Weakness
CWE-284 · Improper Access Control
Published
2023-03-17T08:15Z
Affected products (4)
ProductVersionsFixed in
openbsd/openssh≥ 8.9, < 9.39.3
netapp/brocade_fabric_operating_systemall versions—
netapp/hci_bootstrap_osall versions—
netapp/solidfire_element_osall versions—
References (14)
EPSS history
Timeline
  • 17 MAR 00:00Z
    ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints
    cvelistv5