Vulnerability · Published Jun 12, 2024 · Assigned by redhat

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

High 8.8

In plain English

A high-severity incorrect authorization in freeipa. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.7%top 47.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bind-dyndb-ldap11.6-5.module_el8.10.0+3844+20e075e5.alma.2ALSA-2024:3755
AlmaLinux:8custodia0.6.0-3.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8ipa-client4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-client4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-client-common4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-client-common4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-client-epn4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-client-epn4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-client-samba4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-client-samba4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-common4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-common4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-healthcheck0.12-3.module_el8.9.0+3651+d05ea4c5ALSA-2024:3755
AlmaLinux:8ipa-healthcheck-core0.12-3.module_el8.9.0+3651+d05ea4c5ALSA-2024:3755
AlmaLinux:8ipa-python-compat4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:8ipa-selinux4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-selinux4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-server4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-server4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-server-common4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-server-common4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-server-dns4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-server-dns4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8ipa-server-trust-ad4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9ipa-server-trust-ad4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8opendnssec2.1.7-1.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8opendnssec2.1.7-1.module_el8.6.0+3031+2f24dc92ALSA-2024:3755
AlmaLinux:8python3-custodia0.6.0-3.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8python3-ipaclient4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9python3-ipaclient4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8python3-ipalib4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9python3-ipalib4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8python3-ipaserver4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9python3-ipaserver4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8python3-ipatests4.9.13-10.module_el8.10.0+3857+9c8da539ALSA-2024:3755
AlmaLinux:9python3-ipatests4.11.0-15.el9_4.alma.1ALSA-2024:3754
AlmaLinux:8python3-jwcrypto0.5.0-2.module_el8.10.0+3844+20e075e5ALSA-2024:3755
AlmaLinux:8python3-kdcproxy0.4-5.module_el8.9.0+3785+2238a12aALSA-2024:3755
AlmaLinux:8python3-pyusb1.0.0-9.1.module_el8.7.0+3349+cfeff52eALSA-2024:3755
AlmaLinux:8python3-qrcode5.1-12.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8python3-qrcode-core5.1-12.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8python3-yubico1.3.2-9.1.module_el8.7.0+3349+cfeff52eALSA-2024:3755
AlmaLinux:8slapi-nis0.60.0-4.module_el8.10.0+3844+20e075e5.alma.1ALSA-2024:3755
AlmaLinux:8softhsm2.6.0-5.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8softhsm2.6.0-5.module_el8.6.0+3031+2f24dc92ALSA-2024:3755
AlmaLinux:8softhsm-devel2.6.0-5.module_el8.6.0+2881+2f24dc92ALSA-2024:3755
AlmaLinux:8softhsm-devel2.6.0-5.module_el8.6.0+3031+2f24dc92ALSA-2024:3755
Debian:12freeipano fix listedDEBIAN-CVE-2024-2698
Debian:13freeipa4.12.2-1DEBIAN-CVE-2024-2698
Rocky Linux:8bind-dyndb-ldap0:11.6-5.module+el8.10.0+1819+0aeba2f1RLSA-2024:3755
Rocky Linux:8custodia0:0.6.0-3.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8ipa0:4.9.13-10.module+el8.10.0+1828+d0e644b0RLSA-2024:3755
Rocky Linux:9ipa0:4.11.0-15.el9_4RLSA-2024:3754
Rocky Linux:8ipa-healthcheck0:0.12-3.module+el8.9.0+1433+5bd2f890RLSA-2024:3755
Rocky Linux:8opendnssec0:2.1.7-1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8python-jwcrypto0:0.5.0-2.module+el8.10.0+1818+2dfda7a6RLSA-2024:3755
Rocky Linux:8python-kdcproxy0:0.4-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8python-qrcode0:5.1-12.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8python-yubico0:1.3.2-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8pyusb0:1.0.0-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Rocky Linux:8slapi-nis0:0.60.0-4.module+el8.9.0+1573+39ab85f4RLSA-2024:3755
Rocky Linux:8softhsm0:2.6.0-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3755
Ubuntu:22.04:LTSfreeipano fix listedUBUNTU-CVE-2024-2698
Ubuntu:24.04:LTSfreeipano fix listedUBUNTU-CVE-2024-2698
Ubuntu:25.10freeipano fix listedUBUNTU-CVE-2024-2698
Ubuntu:26.04:LTSfreeipano fix listedUBUNTU-CVE-2024-2698
Ubuntu:26.10freeipano fix listedUBUNTU-CVE-2024-2698

Affected products (as reported)

VendorProductVersions
freeipa 4.11.0 – before 4.11.24.12.0 – before 4.12.1
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References