GLSA-200612-19 : pam_ldap: Authentication bypass vulnerability

high Nessus Plugin ID 23956

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200612-19

Plugin Details

Severity: High

ID: 23956

File Name: gentoo_GLSA-200612-19.nasl

Version: 1.16

Type: local

Published: 12/30/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pam_ldap, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/20/2006

Vulnerability Publication Date: 9/23/2006

Reference Information

CVE: CVE-2006-5170

BID: 20880

GLSA: 200612-19