REDHAT-BUG-2487472: Medium severity FreeIPA FreeIPA vulnerability
If trust relationship between FreeIPA and Active Directory is configured (established/created), AD users can bypass authentication of the FreeIPA portal, SMB server, LDAP directory and, presumably, any other GSSAPI services unauthorized, using impersonation in TGS, under certain conditions. In the worst case scenario a user could escalate their priveleges (permissions/rights) in FreeIPA domain. This is due to the fact that the portal, like other GSSAPI services, is not configured to verify PAC certificates and trusts the TGS cname field.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Update/configure FreeIPA GSSAPI services to verify PAC certificates and trusts (so impersonation in TGS using the TGS cname field cannot bypass authentication).
FreeIPA GSSAPI services (portal/SMB/LDAP) PAC certificate and trust validation for TGS cname handling = configured to verify PAC certificates and trusts instead of trusting the TGS cname field - Compensating control
Ensure the FreeIPA-to-Active Directory trust relationship is not established/created unless required; if it is configured, limit exposure by preventing AD users from authenticating to FreeIPA GSSAPI services (portal/SMB/LDAP) where impersonation via TGS could bypass authentication.