Bug 2548605 (CVE-2026-108122)

Summary: CVE-2026-108122 freeipa: freeipa: predictable all-zero NT hash accepted for Samba pass-the-hash authentication when NTHash generation is disabled
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abokovoy, dhanina, frenaud, ftrivino, mkaminsk, security-response-team, snegrini, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2026-11-30   

Description OSIDB Bzimport 2026-10-09 14:02:59 UTC
A flaw was found in FreeIPA. When NT hash generation is disabled for an Identity Management (IdM) server (for example, by removing the AllowNThash option via `ipa config-mod`), the next password change for an affected account causes the `ipaNTHash` LDAP attribute to be written as sixteen zero bytes instead of being left unset. FreeIPA's Samba password database backend (`ipa_sam.c`) validates only the length of this stored value before accepting it as the account's live NT password hash, and does not detect or reject the all-zero value. Because Samba supports NTLM pass-the-hash authentication, a remote, unauthenticated attacker who knows the name of an affected account (including the built-in `admin` account) can authenticate as that account using the publicly-known all-zero hash, without needing a valid password. On servers configured with Active Directory (AD) trust support, this allows an attacker to impersonate privileged accounts and to query, delete, or create AD trust relationships, resulting in authentication bypass, denial of service, and potential compromise of trust integrity.

Comment 1 errata-xmlrpc 2026-12-01 09:29:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:105884 https://access.redhat.com/errata/RHSA-2026:105884

Comment 2 errata-xmlrpc 2026-12-01 09:40:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:105882 https://access.redhat.com/errata/RHSA-2026:105882

Comment 3 errata-xmlrpc 2026-12-01 09:46:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:105883 https://access.redhat.com/errata/RHSA-2026:105883

Comment 4 errata-xmlrpc 2026-12-01 10:25:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:105881 https://access.redhat.com/errata/RHSA-2026:105881