FreeBSD : FreeBSD -- pam_ssh() does not validate service names (e51d5b1a-4638-11e1-9f47-00e0815b8da8)

Medium Nessus Plugin ID 57740


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


Some third-party applications, including KDE's kcheckpass command, allow the user to specify the name of the policy on the command line.
Since OpenPAM treats the policy name as a path relative to /etc/pam.d or /usr/local/etc/pam.d, users who are permitted to run such an application can craft their own policies and cause the application to load and execute their own modules.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 57740

File Name: freebsd_pkg_e51d5b1a463811e19f4700e0815b8da8.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2012/01/31

Modified: 2013/10/02

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.9

Temporal Score: 5.7

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

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

CVE: CVE-2011-4122

BID: 50607

OSVDB: 76945

FreeBSD: SA-11:10.pam