Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.104869
Category:General
Title:OpenBSD OpenSSH < 9.3p2 RCE Vulnerability
Summary:OpenBSD OpenSSH is prone to a remote code execution (RCE); vulnerability in OpenSSH's forwarded ssh-agent.
Description:Summary:
OpenBSD OpenSSH is prone to a remote code execution (RCE)
vulnerability in OpenSSH's forwarded ssh-agent.

Vulnerability Insight:
A condition where specific libraries loaded via ssh-agent(1)'s
PKCS#11 support could be abused to achieve remote code execution via a forwarded agent socket.

Affected Software/OS:
OpenBSD OpenSSH prior to version 9.3p2.

The following conditions needs to be met:

- Exploitation requires the presence of specific libraries on the victim system.

- Remote exploitation requires that the agent was forwarded to an attacker-controlled system.

Solution:
Update to version 9.3p2 or later.

CVSS Score:
10.0

CVSS Vector:
AV:N/AC:L/Au:N/C:C/I:C/A:C

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2023-38408
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CEBTJJINE2I3FHAUKKNQWMFGYMLSMWKQ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RAXVQS6ZYTULFAK3TEJHRLKZALJS3AOU/
https://security.gentoo.org/glsa/202307-01
http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
https://blog.qualys.com/vulnerabilities-threat-research/2023/07/19/cve-2023-38408-remote-code-execution-in-opensshs-forwarded-ssh-agent
https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8
https://github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351d
https://github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7ca
https://news.ycombinator.com/item?id=36790196
https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txt
https://www.vicarius.io/vsociety/posts/exploring-opensshs-agent-forwarding-rce-cve-2023-38408
https://lists.debian.org/debian-lts-announce/2023/08/msg00021.html
http://www.openwall.com/lists/oss-security/2023/07/20/1
http://www.openwall.com/lists/oss-security/2023/07/20/2
http://www.openwall.com/lists/oss-security/2023/09/22/11
http://www.openwall.com/lists/oss-security/2023/09/22/9
CopyrightCopyright (C) 2023 Greenbone AG

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.