Rapid7 Vulnerability & Exploit Database

FreeBSD: (Multiple Advisories) (CVE-2023-38408): FreeBSD -- Potential remote code execution via ssh-agent forwarding

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: (Multiple Advisories) (CVE-2023-38408): FreeBSD -- Potential remote code execution via ssh-agent forwarding

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
07/20/2023
Created
07/25/2023
Added
07/22/2023
Modified
08/31/2023

Description

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.

Solution(s)

  • freebsd-upgrade-base-12_4-release-p4
  • freebsd-upgrade-base-13_1-release-p9
  • freebsd-upgrade-base-13_2-release-p2
  • freebsd-upgrade-package-openssh-portable
  • freebsd-upgrade-package-openssh-portable-gssapi
  • freebsd-upgrade-package-openssh-portable-hpn

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;