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

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?7cc3b180

Plugin Details

Severity: Medium

ID: 57741

File Name: freebsd_pkg_eda151d8463811e19f4700e0815b8da8.nasl

Version: 1.11

Type: local

Published: 1/31/2012

Updated: 1/6/2021

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

CVSS v2

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/29/2012

Vulnerability Publication Date: 12/23/2011

Reference Information

BID: 51183

FreeBSD: SA-11:09.pam_ssh