OpenSSH < 7.2p2 X11Forwarding xauth Command Injection

medium Nessus Network Monitor Plugin ID 9312

Synopsis

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

Description

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.

Solution

Upgrade to OpenSSH version 7.2p2 or later.

See Also

http://www.openssh.com/txt/release-7.2p2

http://www.openssh.com/txt/x11fwd.adv

Plugin Details

Severity: Medium

ID: 9312

Family: SSH

Published: 4/22/2016

Updated: 3/6/2019

Nessus ID: 90023

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.5

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

CVSS v3

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: CVSS:3.0/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