OpenSSH < 7.2p2 X11Forwarding xauth Command Injection
Medium Nessus Plugin ID 90023
SynopsisThe SSH server running on the remote host is affected by a security bypass vulnerability.
DescriptionAccording to its banner, the version of OpenSSH running on the remote host is prior to 7.2p2. It is, therefore, affected by a security bypass vulnerability due to improper sanitization of X11 authentication credentials. An authenticated, remote attacker can exploit this, via crafted credentials, to inject arbitrary xauth commands, resulting in gaining read and write access to arbitrary files, connecting to local ports, or performing further attacks on xauth itself. Note that exploiting this vulnerability requires X11Forwarding to have been enabled.
SolutionUpgrade to OpenSSH version 7.2p2 or later.