FreeBSD : FreeBSD -- pam_ssh improperly grants access when user account has unencrypted SSH private keys (eda151d8-4638-11e1-9f47-00e0815b8da8)

Medium Nessus Plugin ID 57741


The remote FreeBSD host is missing one or more security-related updates.


The OpenSSL library call used to decrypt private keys ignores the passphrase argument if the key is not encrypted. Because the pam_ssh module only checks whether the passphrase provided by the user is null, users with unencrypted SSH private keys may successfully authenticate themselves by providing a dummy passphrase.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 57741

File Name: freebsd_pkg_eda151d8463811e19f4700e0815b8da8.nasl

Version: $Revision: 1.5 $

Type: local

Published: 2012/01/31

Modified: 2015/01/19

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.1

Temporal Score: 4.2

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:FreeBSD, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2012/01/29

Vulnerability Publication Date: 2011/12/23

Reference Information

BID: 51183

OSVDB: 78021

FreeBSD: SA-11:09.pam_ssh