CVE-2016-10009 Path traversal in n/a

High 7.3 Published Updated

Remote attackers can execute arbitrary local PKCS#11 modules via a forwarded agent-socket due to an untrusted search path in OpenSSH ssh-agent.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10009?

CVE-2016-10009 is a high-severity path traversal vulnerability in OpenSSH, published on 5 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-426

Which versions are affected by CVE-2016-10009?

It affects 1 product.

Products include OpenSSH.

How do I fix CVE-2016-10009?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-10009 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-10009 exists.

Public exploit code: 1 Exploit-DB entry.

All OpenSSH vulnerabilities

Sources

Also known as ALPINE-CVE-2016-10009, CLSA-2022-1656959440, CLSA-2022-1656962023, DEBIAN-CVE-2016-10009, GHSA-5rjr-wmvr-493x, UBUNTU-CVE-2016-10009.

Is CVE-2016-10009 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free