CVE-2024-2698: Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service

Published Mar 19, 2024
·
Updated

A vulnerability was found in FreeIPA in how the initial implementation of MS-SFU by MIT Kerberos was missing a condition for granting the "forwardable" flag on S4U2Self tickets. Fixing this mistake required adding a special case for the checkallowedtodelegate() function: If the target service argument is NULL, then it means the KDC is probing for general constrained delegation rules and not checking a specific S4U2Proxy request. In FreeIPA 4.11.0, the behavior of ipadbmatchacl() was modified to match the changes from upstream MIT Kerberos 1.20. However, a mistake resulting in this mechanism applies in cases where the target service argument is set AND where it is unset. This results in S4U2Proxy requests being accepted regardless of whether or not there is a matching service delegation rule.

Other sources

Description: Delegation rules allow a "proxy" service to impersonate any user to access another "target" service. The vulnerability allows an attacker, once they managed to compromise a service which is a proxy in at least one delegation rule, to impersonate any user against any service that is not a target service in one of its delegation rule.

As an example, it would allow an attacker, after they compromised a server having a delegation rule to an NFS server, to impersonate a domain administrator against a FreeIPA server. This would mean compromising the all domain.

If there are no custom delegation rules in a FreeIPA domain, this vulnerability will most likely have no impact.

Red Hat

Affected Software

10 affected componentsFixes available
redhat/FreeIPA<4.11.2
4.11.2
redhat/FreeIPA<4.12.1
4.12.1
All of the following
Any of the following
FreeIPA FreeIPA>=4.11.0<4.11.2
FreeIPA FreeIPA=4.12.0
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Eus=8.8
redhat Enterprise Linux Eus=9.2

Event History

Jun 12, 2024
CVE Published
via MITRE·08:03 AM
Data Sourced
via MITRE·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-2698?

CVE-2024-2698 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2024-2698?

To fix CVE-2024-2698, upgrade FreeIPA to version 4.11.2 or 4.12.1 as specified in the vulnerability report.

3

What software is affected by CVE-2024-2698?

CVE-2024-2698 affects FreeIPA versions prior to 4.11.2 and 4.12.1.

4

Can I continue using FreeIPA with CVE-2024-2698?

It is not recommended to continue using FreeIPA with CVE-2024-2698 as it poses potential security risks.

5

What is the impact of CVE-2024-2698 on FreeIPA?

The impact of CVE-2024-2698 includes potential unauthorized delegation of the forwardable flag on S4U2Self tickets in the FreeIPA environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203