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

High 8.8 Published Updated

Attackers can bypass delegation rules to impersonate any user and access target services due to flawed S4U2Proxy logic in FreeIPA.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-2698?

CVE-2024-2698 is a high-severity authentication bypass vulnerability in Red Hat Enterprise Linux 6, published on 12 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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 check_allowed_to_delegate() 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 ipadb_match_acl() 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.

Weakness: CWE-863

Which versions are affected by CVE-2024-2698?

It affects 1 product.

Products include Freeipa Freeipa.

How do I fix CVE-2024-2698?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-2698 being exploited?

There is no known exploitation of CVE-2024-2698 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-2698, GHSA-jhc8-v2x5-jvj5, UBUNTU-CVE-2024-2698.

Is CVE-2024-2698 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free