Bugzilla – Bug 1226277
VUL-0: CVE-2024-5953: 389-ds: malformed userPassword hashes may cause a denial of service
Last modified: 2024-06-14 01:10:54 UTC
A denial of service vulnerability was found in 389-ds-base ldap server. This issue may allow an authenticated user to cause a server crash or hang while authenticating with an user having a malformed userPassword. By default only the administrator may directly add hashed password that can trigger the issue. But if nsslapd-allow-hashed-passwords config parameter is turned on, any user can trigger the issue. The problem is triggered by adding a password to an user using the hashed format (with a hash value too long for the specified hash scheme) Then later on when trying to authenticate on that user its triggers the buffer overflow By default, only administrators are allowed to add hashed passwords but there is a configuration parameter (nsslapd-allow-hashed-passwords) allowing any users to add hashed passwords and potentially trigger the DoS. This vulnerability affects versions: >= 1.3.7.2 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-5953 https://bugzilla.redhat.com/show_bug.cgi?id=2292104