CVE-2006-5170 Auth bypass in n/a

High 7.5 Published Updated

Attackers can bypass authentication because pam_ldap incorrectly returns success when the LDAP server indicates a password policy failure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-5170?

CVE-2006-5170 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 4 Oct 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

pam_ldap in nss_ldap on Red Hat Enterprise Linux 4, Fedora Core 3 and earlier, and possibly other distributions does not return an error condition when an LDAP directory server responds with a PasswordPolicyResponse control response, which causes the pam_authenticate function to return a success code even if authentication has failed, as originally reported for xscreensaver.

Weakness: CWE-755

Which versions are affected by CVE-2006-5170?

It affects 8 products.

Linux distribution packages (8)
nss_ldap Red Hat:enterprise_linux:4::asAll versions0:226-17
nss_ldap-debuginfo Red Hat:enterprise_linux:4::asAll versions0:226-17
nss_ldap Red Hat:enterprise_linux:4::desktopAll versions0:226-17
nss_ldap-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:226-17
nss_ldap Red Hat:enterprise_linux:4::esAll versions0:226-17
nss_ldap-debuginfo Red Hat:enterprise_linux:4::esAll versions0:226-17
nss_ldap Red Hat:enterprise_linux:4::wsAll versions0:226-17
nss_ldap-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:226-17

Products include Debian Debian Linux, Fedoraproject Fedora Core, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Power Big Endian and 2 more.

How do I fix CVE-2006-5170?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2006-5170 being exploited?

There is no known exploitation of CVE-2006-5170 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-5170, DSA-1203-1, GHSA-3mcc-2cg8-vvjx, RHSA-2006:0719.

Is CVE-2006-5170 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free