Patchfirst
CVE-2023-38408 Public exploit Critical · 9.8 EPSS 79.7%

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to…

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 relies on an insufficiently trustworthy library search path, which is the flaw. An attacker controlling a system to which an agent is forwarded can achieve remote code execution, provided the agent is forwarded to that attacker-controlled system and no authentication is required beyond that forwarding.

Official description · CVE.org

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.

Breakdown
69.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 6 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 20 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+6 days
  3. Public exploit codePoC-in-GitHub+20 days

A fix was bypassed or incomplete once over 7 years.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2016-10009Untrusted search path vulnerability in ssh-agent.c in ssh-agent…5 Jan 2017
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
    • Same code patched: ssh-agent.1, ssh-agent.c (machine-matched)Functions: main, process_add_smartcard_keycommit 9476ce1commit f8f5a6bcommit 7bc29a9
    This CVECVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an…20 Jul 2023

What security researchers reported

Not named in any threat report yet

Also mentioned in 15 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

21 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close