389 Directory Server
cpe:2.3:o:redhat:389_directory_server:*:*:*:*:*:*:*
A vulnerability exists in the 389 Directory Server's SMD5 password storage plugin. It involves an unsigned integer underflow when calculating the salt length from a crafted password hash shorter than 16 bytes. This flaw causes a buffer over-read, which crashes the LDAP server during authentication. The issue has been present since the creation of the SMD5 plugin around 2005.
Exploitation of this vulnerability causes the LDAP server to crash, interrupting authentication processes. Additionally, the buffer over-read could potentially be exploited to execute unauthorized code, bypassing normal security mechanisms.
An attacker with Directory Manager privileges can exploit this vulnerability by planting a crafted SMD5 hash that is less than 16 bytes. When the server processes this hash during authentication, it triggers the unsigned integer underflow, leading to a buffer over-read and a crash of the ns-slapd process.
Users are advised to migrate stored passwords from SMD5 to PBKDF2_SHA256 to eliminate the vulnerable code path. Additionally, Directory Manager credentials should be restricted and audited, and nsslapd-allow-hashed-passwords should be disabled to prevent non-DM users from setting pre-hashed passwords.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.