OpenSSH 6.2 and 6.3 AES-GCM Cipher Memory Corruption

This script is Copyright (C) 2013 Tenable Network Security, Inc.


Synopsis :

The SSH server on the remote host is affected by a memory corruption
vulnerability.

Description :

According to its banner, the version of OpenSSH running on the remote
host is version 6.2 or 6.3. It is, therefore, affected by a memory
corruption vulnerability in post-authentication when the AES-GCM cipher
is used for the key exchange. Exploitation of this vulnerability could
lead to arbitrary code execution.

Note that installations are only vulnerable if built against an OpenSSL
library that supports AES-GCM.

See also :

http://www.openssh.com/txt/gcmrekey.adv
http://www.openssh.com/txt/release-6.4

Solution :

Upgrade to OpenSSH 6.4 or refer to the vendor for a patch or
workaround.

Risk factor :

High / CVSS Base Score : 7.1
(CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C)
CVSS Temporal Score : 6.2
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 70895 ()

Bugtraq ID: 63605

CVE ID: CVE-2013-4548