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: PVS 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: 2016/04/22

Modified: 2016/11/23

Dependencies: 1997

Nessus ID: 90023

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 5.5

Temporal Score: 4.5

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

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

CVSSv3

Base Score: 5.4

Temporal Score: 5

Vector: CVSS3#AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

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

Vulnerability Information

CPE: cpe:/a:openbsd:openssh

Patch Publication Date: 2016/03/10

Vulnerability Publication Date: 2016/03/10

Reference Information

CVE: CVE-2016-3115