Random password for 'root' account

This script is Copyright (C) 2009-2011 Tenable Network Security, Inc.


Synopsis :

The remote system has an authentication bypass vulnerability.

Description :

Nessus was able to login to the remote host as 'root' via SSH with a
random password.

A remote attacker can exploit this to gain access to the affected
host, possibly at an administrative level.

This may be due to a known issue with some versions of Ubuntu's
libpam-runtime package when used in a non-default manner, although
Nessus has not tried to verify the underlying cause.

See also :

https://bugs.launchpad.net/ubuntu/+source/pam/+bug/410171
http://www.ubuntu.com/usn/usn-828-1

Solution :

If the remote host is running Ubuntu, upgrade to libpam-runtime
1.0.1-4ubuntu5.6 / 1.0.1-9ubuntu1.1 or later.

Otherwise, make sure the root account is secured with a strong
password, and SSH is configured to require authentication.

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: 40987 (account_root_randpw.nasl)

Bugtraq ID: 36306

CVE ID: CVE-2009-3232