REDHAT-BUG-2498022: Low severity 389 Directory Server 389 Directory Server vulnerability
A flaw was found in 389 Directory Server. The PBKDF2-SHA256 password verification function pbkdf2sha256pwcmp() in ldap/servers/plugins/pwdstorage/pbkdf2pwd.c uses standard memcmp() for hash comparison instead of the project's constant-time slapictmemcmp(). Every other password storage scheme in the same plugin uses slapictmemcmp(), which was introduced specifically to prevent timing side-channels (see CVE-2016-5405). This inconsistency allows a remote attacker with network access to the LDAP service to potentially infer partial hash information through repeated timing measurements of LDAP bind attempts. Practical exploitation is extremely difficult due to the PBKDF2 work factor (8192+ iterations, ~2ms computation time) which dominates and masks the nanosecond-level memcmp timing delta.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2498022?
The severity of REDHAT-BUG-2498022 is classified as low.
How do I fix REDHAT-BUG-2498022?
To fix REDHAT-BUG-2498022, upgrade to the latest version of 389 Directory Server that addresses the flaw.
What is the risk associated with REDHAT-BUG-2498022?
The risk associated with REDHAT-BUG-2498022 is rated as 5, suggesting a significant but not critical concern.
What component is affected by REDHAT-BUG-2498022?
REDHAT-BUG-2498022 affects the PBKDF2-SHA256 password verification function in the 389 Directory Server.
What is the nature of the flaw in REDHAT-BUG-2498022?
The flaw in REDHAT-BUG-2498022 is related to the use of standard memcmp() for hash comparison instead of a constant-time comparison function.