CVE-2023-38408
Last modified
CVE-2023-38408 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 76.77% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | < 9.3 |
| Openbsd | Openssh | 9.3 |
| Fedoraproject | Fedora | 37 |
| Fedoraproject | Fedora | 38 |
References
- http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2023/07/20/1Exploit, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/07/20/2Mailing List, Third Party Advisory
- https://news.ycombinator.com/item?id=36790196Issue Tracking, Patch
- https://security.gentoo.org/glsa/202307-01Third Party Advisory
- https://www.openssh.com/security.htmlVendor Advisory
- https://www.openssh.com/txt/release-9.3p2Release Notes
- https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txtExploit, Third Party Advisory
- http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2023/07/20/1Exploit, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/07/20/2Mailing List, Third Party Advisory
- https://news.ycombinator.com/item?id=36790196Issue Tracking, Patch
- https://security.gentoo.org/glsa/202307-01Third Party Advisory
- https://www.openssh.com/security.htmlVendor Advisory
- https://www.openssh.com/txt/release-9.3p2Release Notes
- https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txtExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-38408?
How severe is CVE-2023-38408?
How do I fix CVE-2023-38408?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-38402A vulnerability in the HPE Aruba Networking Virtual Intranet…7.1
- CVE-2023-38403iperf3 before 3.14 allows peers to cause an integer overflow…7.5
- CVE-2023-38404The XPRTLD web application in Veritas InfoScale Operations M…8.8
- CVE-2023-38405On Crestron 3-Series Control Systems before 1.8001.0187, cra…7.5
- CVE-2023-38406bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandl…9.8
- CVE-2023-38407bgpd/bgp_label.c in FRRouting (FRR) before 8.5 attempts to r…7.5
- CVE-2023-38409An issue was discovered in set_con2fb_map in drivers/video/f…5.5
- CVE-2023-3841A vulnerability has been found in NxFilter 4.3.2.5 and class…8.8
- CVE-2023-38410The issue was addressed with improved checks. This issue is …7.8
- CVE-2023-38411Improper access control in the Intel Smart Campus android ap…7.8
- CVE-2023-38412Netgear R6900P v1.3.3.154 was discovered to contain multiple…8.8
- CVE-2023-38417Improper input validation for some Intel(R) PROSet/Wireless …4.3
Are you affected by CVE-2023-38408?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
