CVE-2016-5405
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unedited389 Directory Server in Red Hat Enterprise Linux Desktop 6 through 7, Red Hat Enterprise Linux HPC Node 6 through 7, Red Hat Enterprise Linux Server 6 through 7, and Red Hat Enterprise Linux Workstation 6 through 7 allows remote attackers to obtain user passwords.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidence389 Directory Server in Red Hat Enterprise Linux 6-7 allows remote attackers to obtain user passwords due to a critical vulnerability (CVSS 9.8). This is a severe information disclosure flaw in the LDAP directory service that enables unauthorized extraction of password hashes or plaintext passwords.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 6.0= 7.0= 6.0= 7.0= 6.0= 7.0= 6.0= 7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if 389 Directory Server is installedRun 'rpm -qa | grep 389-ds-base' or 'rpm -qa | grep 389-ds' to list installed 389-ds packagesAffected if No 389-ds-base package is found, the system is not running this directory server and is not affected
-
Verify the installed 389-ds-base package versionRun 'rpm -q 389-ds-base' to get the exact version, then compare against the affected Red Hat Enterprise Linux 6.x and 7.x versions (6.0 and 7.0 as listed)Affected if The installed version is 389-ds-base-1.3.x or earlier on RHEL 6, or 1.3.x on RHEL 7, matching the vulnerable release versions
-
Check if anonymous bind is enabled in the directory serverRun 'ldapsearch -x -h localhost -b "cn=config" -s base "(objectClass=*)" nsslapd-allow-anonymous-bind' or inspect the dse.ldif configuration file in the instance directory for 'nsslapd-allow-anonymous-bind' settingAffected if nsslapd-allow-anonymous-bind is set to 'on' or 'true', allowing unauthenticated access to the directory
-
Test if anonymous access can retrieve user password hashesRun an anonymous LDAP search: 'ldapsearch -x -h <server> -b "uid=*,ou=people,dc=example,dc=com" userPassword' without providing any bind credentialsAffected if The search returns userPassword attribute values without authentication, confirming the vulnerability is exploitable
-
Verify access control settings for userPassword attributeCheck the cn=password policy,cn=etc,<instance_suffix> entry or examine olcAccess attributes in cn=config for rules controlling access to userPasswordAffected if No access control rule restricts anonymous read access to the userPassword attribute, or an ACL explicitly allows it
A system is affected if it runs a vulnerable 389-ds-base version on RHEL 6 or 7 AND has anonymous bind enabled with unrestricted access to userPassword attributes, allowing unauthenticated password retrieval.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the errata patches for CVE-2016-5405 from Red Hat to update the 389 Directory Server packages. Consider implementing network segmentation and restricting access to the LDAP service while patching.
Apply the Red Hat Security Advisory for CVE-2016-5405 (389-ds-base package update)
- Check the Red Hat Security Advisory (RHSA) for CVE-2016-5405 to obtain the specific patch package name and version
- Update the system using 'yum update 389-ds-base' or 'yum update' to apply all available security updates
- Restart the 389 Directory Server service after applying the update using 'service dirsrv restart' or 'systemctl restart dirsrv'
- Verify the update was applied successfully by checking the installed package version with 'rpm -qa | grep 389-ds-base'
- Confirm the vulnerability is remediated by reviewing the CVE status in the Red Hat Security API or errata
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2016-5405 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2016-5405 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data