Fedora Account System
Red Hat Associate
Red Hat Customer
The krbPrincipalMatch matching-rule plugin (daemons/ipa-slapi-plugins/ipa-krbprinc-mr/ipa_krbprinc_mr.c, normalize_krbprinc()) does not perform RFC 4517 insignificant-space normalization. It normalizes candidate principal names purely via krb5_parse_name/krb5_unparse_name (+ optional tolower), under which whitespace is significant. This lets an attacker who controls a service principal (e.g. an enrolled host managing a principal via managedby, the same prerequisite as CVE-2025-4404/CVE-2025-7493) set krbCanonicalName, krbPrincipalName, or ipaKrbPrincipalAlias to a whitespace-padded variant of a protected name (e.g. "admin@REALM " with a trailing space). The 389-ds attribute-uniqueness enforcement introduced by the CVE-2025-4404/CVE-2025-7493 fixes sees a different name and allows the write, while the KDC's TGS lookup filter (caseIgnoreIA5Match), the native caseExactIA5Match on the attribute, and the 389-ds SASL-to-DN identity map all treat the whitespace as insignificant (RFC 4517) and resolve the padded name back to the real privileged principal, re-opening the host-to-domain-admin escalation. This is a distinct normalization gap from CVE-2026-13097 (missing @REALM suffix, same underlying mechanism). Independently verified: current normalize_krbprinc() on freeipa/freeipa master (confirmed live, post CVE-2026-13097 fix) still contains no whitespace trimming/collapsing logic; live testing against 389-ds 3.1.3 and FreeIPA 4.13.3-1.el10 confirmed the shipped krbCanonicalName:krbPrincipalMatch: uniqueness config rejects an exact duplicate of admin@REALM but accepts the trailing-space variant, and that the padded entry resolves to uid=admin under the KDC's caseIgnoreIA5Match. Planting Kerberos keys on the padded entry and requesting an actual admin TGT was deliberately not performed (same canonicalization mechanism already established by CVE-2025-4404/CVE-2025-7493).
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
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
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
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