GLSA-200612-19 : pam_ldap: Authentication bypass vulnerability

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200612-19
(pam_ldap: Authentication bypass vulnerability)

Steve Rigler discovered that pam_ldap does not correctly handle
'PasswordPolicyResponse' control responses from an LDAP directory. This
causes the pam_authenticate() function to always succeed, even if the
previous authentication failed.

Impact :

A locked user may exploit this vulnerability to bypass the LDAP
authentication mechanism, possibly gaining unauthorized access to the
system.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200612-19.xml

Solution :

All pam_ldap users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=sys-auth/pam_ldap-183'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 23956 (gentoo_GLSA-200612-19.nasl)

Bugtraq ID:

CVE ID: CVE-2006-5170