Remote host has weak Debian OpenSSH Keys in ~/.ssh/authorized_keys

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


Synopsis :

The remote SSH host is set up to accept authentication with
weak Debian SSH keys.

Description :

The remote host has one or more ~/.ssh/authorized_keys
files containing weak SSH public keys generated on a Debian
or Ubuntu system.

The problem is due to a Debian packager removing nearly all
sources of entropy in the remote version of OpenSSL.

This problem does not only affect Debian : any user uploading
a weak SSH key into his ~/.ssh/authorized_keys file will
compromise the security of the remote system.

An attacker could try a brute-force attack against the remote
host and log in with these weak keys.

Solution :

Remove all the offending entries from ~/.ssh/authorized_keys

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 32320 ()

Bugtraq ID: 29179

CVE ID: CVE-2008-0166