CVE-2016-10009: High severity OpenBSD OpenSSH vulnerability

Published Dec 20, 2016
·
Updated

It was found that ssh-agent could load PKCS#11 modules from paths outside of a trusted whitelist. An attacker able to load a crafted PKCS#11 module across a forwarded agent channel could potentially use this flaw to execute arbitrary code on the system running the ssh-agent. Note that the attacker must have control of the forwarded agent-socket and the ability to write to the filesystem of the host running ssh-agent.

This issue was fixed by only allowing the loading of module from a trusted (and configurable) whitelist.

CVE assignment:

http://seclists.org/oss-sec/2016/q4/708

Upstream patch:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh-agent.c.diff?r1=1.214&r2=1.215&sortby=date&f=h

Other sources

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.

— Launchpad

Affected Software

3 affected componentsFixes available
OpenBSD OpenSSH<=7.3
redhat/openssh<7.4
7.4
debian/openssh
1:8.4p1-5+deb11u31:8.4p1-5+deb11u71:9.2p1-2+deb12u101:9.2p1-2+deb12u91:10.0p1-7+deb13u41:10.0p1-7+deb13u21:10.3p1-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openssh to a version that resolves this vulnerability.

    Fixed in 7.4
  2. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.4p1-5+deb11u3Fixed in 1:8.4p1-5+deb11u7Fixed in 1:9.2p1-2+deb12u10Fixed in 1:9.2p1-2+deb12u9Fixed in 1:10.0p1-7+deb13u4Fixed in 1:10.0p1-7+deb13u2Fixed in 1:10.3p1-4
  3. Upgrade

    Upgrade OpenSSH to a version that resolves this vulnerability.

    Fixed in 7.4

Event History

Dec 20, 2016
Data Sourced
via Red Hat·07:40 AM
DescriptionSeverityAffected Software
Jan 5, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:59 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-10009?

CVE-2016-10009 is classified as a high severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2016-10009?

To fix CVE-2016-10009, upgrade OpenSSH to version 7.4 or later on affected systems.

3

What does CVE-2016-10009 exploit?

CVE-2016-10009 exploits an untrusted search path vulnerability in ssh-agent allowing remote execution of malicious local PKCS#11 modules.

4

Which versions of OpenSSH are affected by CVE-2016-10009?

OpenSSH versions prior to 7.4 are affected by CVE-2016-10009.

5

What type of attacks can be facilitated by CVE-2016-10009?

CVE-2016-10009 can facilitate remote attacks allowing unauthorized access and execution of local code through agent forwarding.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203