7.3
HIGH
CVE-2016-10009
OpenSSH SSH-Agent Untrusted Search Path Vulnerability
Description

Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4 allows remote attackers to execute arbitrary local PKCS#11 modules by leveraging control over a forwarded agent-socket.

INFO

Published Date :

Jan. 5, 2017, 2:59 a.m.

Last Modified :

Nov. 21, 2024, 2:43 a.m.

Source :

cve@mitre.org

Remotely Exploitable :

Yes !

Impact Score :

3.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-10009 has a 13 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-10009 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Openbsd openssh
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-10009.

URL Resource
http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html
http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
http://seclists.org/fulldisclosure/2023/Jul/31
http://www.openwall.com/lists/oss-security/2016/12/19/2 Mailing List Release Notes
http://www.openwall.com/lists/oss-security/2023/07/19/9
http://www.openwall.com/lists/oss-security/2023/07/20/1
http://www.securityfocus.com/bid/94968
http://www.securitytracker.com/id/1037490
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
https://access.redhat.com/errata/RHSA-2017:2029
https://bugs.chromium.org/p/project-zero/issues/detail?id=1009
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5 Patch
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://security.FreeBSD.org/advisories/FreeBSD-SA-17:01.openssh.asc
https://security.netapp.com/advisory/ntap-20171130-0002/
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
https://usn.ubuntu.com/3538-1/
https://www.exploit-db.com/exploits/40963/
https://www.openssh.com/txt/release-7.4
http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html
http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
http://seclists.org/fulldisclosure/2023/Jul/31
http://www.openwall.com/lists/oss-security/2016/12/19/2 Mailing List Release Notes
http://www.openwall.com/lists/oss-security/2023/07/19/9
http://www.openwall.com/lists/oss-security/2023/07/20/1
http://www.securityfocus.com/bid/94968
http://www.securitytracker.com/id/1037490
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
https://access.redhat.com/errata/RHSA-2017:2029
https://bugs.chromium.org/p/project-zero/issues/detail?id=1009
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5 Patch
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://security.FreeBSD.org/advisories/FreeBSD-SA-17:01.openssh.asc
https://security.netapp.com/advisory/ntap-20171130-0002/
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
https://usn.ubuntu.com/3538-1/
https://www.exploit-db.com/exploits/40963/
https://www.openssh.com/txt/release-7.4

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 30, 2025, 9:01 a.m. This repo has been linked 173 different CVEs too.

OpenSSH Vulnerabilities list

cve openssh vulnerabilities

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Dec. 4, 2024, 1:10 p.m. This repo has been linked 25 different CVEs too.

None

Python

Updated: 6 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 3, 2024, 3:15 p.m. This repo has been linked 22 different CVEs too.

bulk scanning tool for 21 different CVE's for OpenSSH

Python

Updated: 7 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : Aug. 25, 2024, 6:28 a.m. This repo has been linked 22 different CVEs too.

OpenSSH Vulnerabilities Scanner: Bulk Scanning Tool for 21 different OpenSSH CVEs.

Python

Updated: 2 months, 2 weeks ago
7 stars 5 fork 5 watcher
Born at : Aug. 24, 2024, 10:56 p.m. This repo has been linked 22 different CVEs too.

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2024-6409, CVE-2006-5051, CVE-2008-4109, and 16 other CVEs.

Updated: 8 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 11:56 a.m. This repo has been linked 22 different CVEs too.

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2006-5051 , CVE-2008-4109 and others.

openssh security-audit security-tools ssh ssh-server

Python

Updated: 3 months ago
27 stars 7 fork 7 watcher
Born at : July 1, 2024, 8:45 p.m. This repo has been linked 21 different CVEs too.

None

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : June 30, 2023, 2:41 p.m. This repo has been linked 78 different CVEs too.

None

Lua Python

Updated: 1 year, 1 month ago
1 stars 0 fork 0 watcher
Born at : March 10, 2022, 10:55 a.m. This repo has been linked 29 different CVEs too.

Easily scan for CVEs using nmap.

cve nmap portscanning shell shellscript automation

Shell

Updated: 5 months ago
12 stars 3 fork 3 watcher
Born at : Jan. 13, 2022, 2:44 p.m. This repo has been linked 34 different CVEs too.

This is a boot2root VM and is a continuation of the Basic Pentesting series. This series is designed to help newcomers to penetration testing develop pentesting skills and have fun exploring part of the offensive side of security. VirtualBox is the recommended platform for this challenge (though it should also work with VMware -- however, I haven’t tested that). This VM is a moderate step up in difficulty from the first entry in this series. If you’ve solved the first entry and have tried a few other beginner-oriented challenges, this VM should be a good next step. Once again, this challenge contains multiple initial exploitation vectors and privilege escalation vulnerabilities. Your goal is to remotely attack the VM, gain root privileges, and read the flag located at /root/flag.txt. Once you’ve finished, try to find other vectors you might have missed! If you’d like to send me a link to your writeup, enjoyed the VM or have questions or feedback, feel free to contact me at: josiah@vt.edu If you finished the VM, please also consider posting a writeup! Writeups help you internalize what you worked on and help anyone else who might be struggling or wants to see someone else’s process. There were lots of wonderful writeups for Basic Pentesting: 1, and I look forward to reading the writeups for this challenge.

Updated: 1 year, 9 months ago
5 stars 5 fork 5 watcher
Born at : May 25, 2021, 9:07 a.m. This repo has been linked 78 different CVEs too.

Scripts used to combine Qualys scans and Trend Micro Deep Security recommendation scan results into reports.

Python

Updated: 3 years ago
2 stars 1 fork 1 watcher
Born at : Jan. 22, 2019, 7:25 p.m. This repo has been linked 4 different CVEs too.

None

Python

Updated: 6 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 21, 2019, 2:45 p.m. This repo has been linked 4 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-10009 vulnerability anywhere in the article.

  • Cyber Security News
Technical Analysis Published for OpenSSH’s Agent Forwarding RCE Vulnerability

Security researchers have published a detailed technical analysis of a critical remote code execution (RCE) vulnerability (CVE-2023-38408) in OpenSSH’s agent forwarding feature that was disclosed in J ... Read more

Published Date: Mar 31, 2025 (1 week ago)

The following table lists the changes that have been made to the CVE-2016-10009 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html
    Added Reference http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
    Added Reference http://seclists.org/fulldisclosure/2023/Jul/31
    Added Reference http://www.openwall.com/lists/oss-security/2016/12/19/2
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/19/9
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/20/1
    Added Reference http://www.securityfocus.com/bid/94968
    Added Reference http://www.securitytracker.com/id/1037490
    Added Reference http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
    Added Reference https://access.redhat.com/errata/RHSA-2017:2029
    Added Reference https://bugs.chromium.org/p/project-zero/issues/detail?id=1009
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
    Added Reference https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
    Added Reference https://security.FreeBSD.org/advisories/FreeBSD-SA-17:01.openssh.asc
    Added Reference https://security.netapp.com/advisory/ntap-20171130-0002/
    Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
    Added Reference https://usn.ubuntu.com/3538-1/
    Added Reference https://www.exploit-db.com/exploits/40963/
    Added Reference https://www.openssh.com/txt/release-7.4
  • CVE Modified by cve@mitre.org

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by cve@mitre.org

    Jul. 20, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jul. 20, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/20/1 [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jul. 19, 2023

    Action Type Old Value New Value
    Added Reference http://seclists.org/fulldisclosure/2023/Jul/31 [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jul. 19, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/19/9 [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Dec. 13, 2022

    Action Type Old Value New Value
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Sep. 11, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jun. 01, 2018

    Action Type Old Value New Value
    Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Mar. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3538-1/ [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2029 [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Dec. 02, 2017

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20171130-0002/ [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Nov. 21, 2017

    Action Type Old Value New Value
    Added Reference https://security.FreeBSD.org/advisories/FreeBSD-SA-17:01.openssh.asc [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jan. 07, 2017

    Action Type Old Value New Value
    Added Reference https://www.openssh.com/txt/release-7.4 [No Types Assigned]
    Added Reference https://www.exploit-db.com/exploits/40963/ [No Types Assigned]
    Added Reference https://bugs.chromium.org/p/project-zero/issues/detail?id=1009 [No Types Assigned]
    Added Reference http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637 [No Types Assigned]
    Added Reference http://www.securitytracker.com/id/1037490 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/94968 [No Types Assigned]
    Added Reference http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html [No Types Assigned]
  • Initial Analysis by nvd@nist.gov

    Jan. 05, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    Changed Reference Type https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5 No Types Assigned https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5 Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/19/2 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/19/2 Release Notes, Mailing List
    Added CWE CWE-426
    Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:7.3:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
10010090908080707060605050404030302020101000March 7, 2023March 7, 2023May 22, 2023May 22, 2023July 21, 2023July 21, 2023Aug. 12, 2024Aug. 12, 2024Dec. 17, 2024Dec. 17, 2024March 17, 2025March 17, 2025March 18, 2025March 18, 2025March 21, 2025March 21, 2025March 29, 2025March 29, 2025March 30, 2025March 30, 2025April 3, 2025April 3, 2025
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-10009 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-10009 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.58 }} -0.04%

score

0.79926

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability