Cloudanix VulnDB

CVE-2016-10011

Medium · 6.2

CVSS

6.2

EPSS

1.1%

Published

Jan 5, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A local user on an affected system could potentially read private SSH keys because of a memory handling mistake in the SSH server software.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Data Exposure
Component
Network Service
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Local users with access to a privilege-separated sshd child process can obtain sensitive private-key material due to improper handling of realloc effects on buffer contents in authfile.c.

Why it matters to the business

Exposure of SSH private keys can enable lateral movement or persistent unauthorized access across systems, increasing breach risk especially in environments with many OpenSSH deployments.

How an attack unfolds

An attacker with local access to a privilege-separated sshd child process triggers the realloc flaw in authfile.c to read residual sensitive buffer contents containing private key data.

How to fix it

Upgrade OpenSSH to version 7.4 or later. For openbsd/src apply commit ac8147a06ed2e2403fb6b9a0c03e618a9333c0e9; for regclient (Chainguard) and regclient (Wolfi) upgrade to 0.5.7-r1 or newer.

How to confirm the fix worked

Confirm sshd version is 7.4 or higher and verify the authfile.c realloc handling patch is present via source inspection or package metadata.

Typical attack path

  1. Obtain local non-privileged access on a host running vulnerable OpenSSH sshd
  2. Interact with or influence the privilege-separated child process handling authentication files
  3. Trigger realloc operations that leave private key material readable in memory buffers
  4. Extract and exfiltrate the leaked private key data for later use

How to detect it

Review sshd process memory dumps or core files from privilege-separated children for unexpected private key artifacts; examine local access logs around sshd child processes for unusual activity.

What your security team should do

  • Prioritize patching all OpenSSH instances to 7.4+ given the key disclosure risk
  • Audit systems for exposed private keys that may have been leaked before patching
  • Enforce least-privilege access and monitor for anomalous local process interactions with sshd

The record

authfile.c in sshd in OpenSSH before 7.4 does not properly consider the effects of realloc on buffer contents, which might allow local users to obtain sensitive private-key information by leveraging access to a privilege-separated child process.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 openssh 0 7.4_p1-r0
Alpine:v3.11 openssh 0 7.4_p1-r0
Alpine:v3.12 openssh 0 7.4_p1-r0
Alpine:v3.13 openssh 0 7.4_p1-r0
Alpine:v3.14 openssh 0 7.4_p1-r0
Alpine:v3.15 openssh 0 7.4_p1-r0
Alpine:v3.16 openssh 0 7.4_p1-r0
Alpine:v3.17 openssh 0 7.4_p1-r0
Alpine:v3.18 openssh 0 7.4_p1-r0
Alpine:v3.19 openssh 0 7.4_p1-r0
Alpine:v3.2 openssh 0 6.8_p1-r9
Alpine:v3.20 openssh 0 7.4_p1-r0
Alpine:v3.21 openssh 0 7.4_p1-r0
Alpine:v3.22 openssh 0 7.4_p1-r0
Alpine:v3.3 openssh 0 7.2_p2-r3
Alpine:v3.4 openssh 0 7.2_p2-r4
Alpine:v3.5 openssh 0 7.4_p1-r0
Alpine:v3.6 openssh 0 7.4_p1-r0
Alpine:v3.7 openssh 0 7.5_p1-r8
Alpine:v3.8 openssh 0 7.4_p1-r0
Alpine:v3.9 openssh 0 7.4_p1-r0
Debian:10 openssh 0 1:7.4p1-1
Debian:11 openssh 0 1:7.4p1-1
Debian:12 openssh 0 1:7.4p1-1
Debian:13 openssh 0 1:7.4p1-1
Debian:14 openssh 0 1:7.4p1-1
Debian:8 openssh 0 1:6.7p1-5+deb8u6
Red Hat:enterprise_linux:7::client openssh 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-askpass 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-cavs 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-clients 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-debuginfo 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-keycat 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-ldap 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-server 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client openssh-server-sysvinit 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::client pam_ssh_agent_auth 0 0:0.10.3-1.11.el7
Red Hat:enterprise_linux:7::computenode openssh 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-askpass 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-cavs 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-clients 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-debuginfo 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-keycat 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-ldap 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-server 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode openssh-server-sysvinit 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::computenode pam_ssh_agent_auth 0 0:0.10.3-1.11.el7
Red Hat:enterprise_linux:7::server openssh 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-askpass 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-cavs 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-clients 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-debuginfo 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-keycat 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-ldap 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-server 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server openssh-server-sysvinit 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::server pam_ssh_agent_auth 0 0:0.10.3-1.11.el7
Red Hat:enterprise_linux:7::workstation openssh 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-askpass 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-cavs 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-clients 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-debuginfo 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-keycat 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-ldap 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-server 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation openssh-server-sysvinit 0 0:7.4p1-11.el7
Red Hat:enterprise_linux:7::workstation pam_ssh_agent_auth 0 0:0.10.3-1.11.el7
SUSE:Linux Enterprise Desktop 12 SP1 openssh 0 6.6p1-54.7.1
SUSE:Linux Enterprise Desktop 12 SP1 openssh-askpass-gnome 0 6.6p1-54.7.1
SUSE:Linux Enterprise Desktop 12 SP2 openssh 0 7.2p2-66.1
SUSE:Linux Enterprise Desktop 12 SP2 openssh-askpass-gnome 0 7.2p2-66.3
SUSE:Linux Enterprise Point of Sale 11 SP3 openssh 0 6.2p2-0.40.1
SUSE:Linux Enterprise Point of Sale 11 SP3 openssh-askpass-gnome 0 6.2p2-0.40.3
SUSE:Linux Enterprise Server 11 SP3-LTSS openssh 0 6.2p2-0.40.1
SUSE:Linux Enterprise Server 11 SP3-LTSS openssh-askpass-gnome 0 6.2p2-0.40.3
SUSE:Linux Enterprise Server 11 SP3-TERADATA openssh 0 6.2p2-0.40.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA openssh-askpass-gnome 0 6.2p2-0.40.3
SUSE:Linux Enterprise Server 11 SP4 openssh 0 6.6p1-35.1
SUSE:Linux Enterprise Server 11 SP4 openssh-askpass-gnome 0 6.6p1-35.4
SUSE:Linux Enterprise Server 11-SECURITY openssh-openssl1 0 6.6p1-18.1
SUSE:Linux Enterprise Server 12 SP1 openssh 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server 12 SP1 openssh-askpass-gnome 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server 12 SP2 openssh 0 7.2p2-66.1
SUSE:Linux Enterprise Server 12 SP2 openssh-askpass-gnome 0 7.2p2-66.3
SUSE:Linux Enterprise Server 12-LTSS openssh 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server 12-LTSS openssh-askpass-gnome 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 openssh 0 7.2p2-66.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 openssh-askpass-gnome 0 7.2p2-66.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh 0 6.6p1-35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 openssh-askpass-gnome 0 6.6p1-35.4
SUSE:Linux Enterprise Server for SAP Applications 12 openssh 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 openssh-askpass-gnome 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 openssh-askpass-gnome 0 6.6p1-54.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh 0 7.2p2-66.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 openssh-askpass-gnome 0 7.2p2-66.3
SUSE:Manager 2.1 openssh 0 6.2p2-0.40.1
SUSE:Manager 2.1 openssh-askpass-gnome 0 6.2p2-0.40.3
SUSE:Manager Proxy 2.1 openssh 0 6.2p2-0.40.1
SUSE:Manager Proxy 2.1 openssh-askpass-gnome 0 6.2p2-0.40.3
SUSE:OpenStack Cloud 5 openssh 0 6.2p2-0.40.1
SUSE:OpenStack Cloud 5 openssh-askpass-gnome 0 6.2p2-0.40.3
Ubuntu:14.04:LTS openssh 0 1:6.6p1-2ubuntu2.10
Ubuntu:16.04:LTS openssh 0 1:7.2p2-4ubuntu2.4
openSUSE:Tumbleweed openssh 0 8.4p1-7.4

Related vulnerabilities