A flaw was found in FreeIPA. When NT hash generation is disabled, the ipaNTHash attribute written on the next password change is a predictable all-zero value instead of being left unset. FreeIPA's Samba passdb backend accepts this value without validating its contents, allowing a remote attacker who knows a valid username to authenticate as that user via Samba NTLM pass-the-hash, without a password. On servers configured for Active Directory trust, this can allow impersonation of privileged accounts and unauthorized access to, or modification of, cross-forest trust configuration.
Administrators who have disabled NT hash generation on a server configured for Active Directory trust should re-enable it (ipa config-mod --setattr='ipaconfigstring=AllowNThash') and force a password reset for any affected accounts, since existing zeroed hash values are not corrected automatically by re-enabling the setting alone. Alternatively, restrict network access to the server's SMB/RPC ports (139/tcp, 445/tcp) to only hosts that require AD trust connectivity until a fix is applied.