FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

FreeBSD -- OpenSSH multiple vulnerabilities

Affected packages
openssh-portable < 7.3.p1_5,1
11.0 <= FreeBSD < 11.0_7
10.3 <= FreeBSD < 10.3_16

Details

VuXML ID 2c948527-d823-11e6-9171-14dae9d210b8
Discovery 2017-01-11
Entry 2017-01-11
Modified 2017-01-13

Problem Description:

The ssh-agent(1) agent supports loading a PKCS#11 module from outside a trusted whitelist. An attacker can request loading of a PKCS#11 module across forwarded agent-socket. [CVE-2016-10009]

When privilege separation is disabled, forwarded Unix domain sockets would be created by sshd(8) with the privileges of 'root' instead of the authenticated user. [CVE-2016-10010]

Impact:

A remote attacker who have control of a forwarded agent-socket on a remote system and have the ability to write files on the system running ssh-agent(1) agent can run arbitrary code under the same user credential. Because the attacker must already have some control on both systems, it is relatively hard to exploit this vulnerability in a practical attack. [CVE-2016-10009]

When privilege separation is disabled (on FreeBSD, privilege separation is enabled by default and has to be explicitly disabled), an authenticated attacker can potentially gain root privileges on systems running OpenSSH server. [CVE-2016-10010]

References

CVE Name CVE-2016-10009
CVE Name CVE-2016-10010
FreeBSD Advisory SA-17:01.openssh