OpenSSH < 7.2p2 X11Forwarding xauth Command Injection

medium Nessus Network Monitor Plugin ID 9312


The remote SSH server may be affected by a command injection vulnerability.


OpenSSH contains a flaw when X11Forwarding is enabled that is due to the system failing to sanitize X11 authentication credentials allowing an authenticated remote attacker to inject arbitrary xauth commands.

Note: NNM has solely relied on the banner of the SSH client to perform this check. Any backported patches or workarounds such as recompiling or edited configurations are not observable through the banner.


Upgrade to OpenSSH version 7.2p2 or later.

See Also

Plugin Details

Severity: Medium

ID: 9312

Family: SSH

Published: 4/22/2016

Updated: 3/6/2019

Nessus ID: 90023

Risk Information


Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.5

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N

Temporal Vector: E:F/RL:OF/RC:C


Risk Factor: Medium

Base Score: 5.4

Temporal Score: 5

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:openbsd:openssh

Patch Publication Date: 3/10/2016

Vulnerability Publication Date: 3/10/2016

Reference Information

CVE: CVE-2016-3115