Skip to content

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

HighCVSS 8.8 EPSS 0.67%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

17 packages: 6 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
debian/freeipa(Debian 12) = 4.9.11-1; = 4.9.11-1+exp1; = 4.9.11-2; = 4.10.1+dfsg1-1+exp1 +16 more No fix listed No fix yet
redhat rhel els = 6; All versions No fix listed No fix yet
ubuntu/freeipa(Ubuntu 18.04) = 4.4.4-3ubuntu1; = 4.4.4-4; = 4.7.0~pre1+git20180411-2ubuntu1; = 4.7.0~pre1+git20180411-2ubuntu2 +1 more No fix listed No fix yet
ubuntu/freeipa(Ubuntu 20.04) = 4.8.1-2ubuntu1; = 4.8.3-1; = 4.8.6-1ubuntu2; All versions No fix listed No fix yet
ubuntu/freeipa(Ubuntu 22.04) = 4.8.6-1ubuntu6; = 4.8.6-1ubuntu8; = 4.8.6-1ubuntu9; = 4.9.8-1 +1 more No fix listed No fix yet
ubuntu/freeipa(Ubuntu 24.04) = 4.10.2-1; = 4.10.2-2; = 4.10.2-2ubuntu3; = 4.11.1-1 +2 more No fix listed No fix yet
ubuntu/freeipa(Ubuntu 25.10) = 4.12.2-3; = 4.12.4-1; All versions No fix listed No fix yet
ubuntu/freeipa(Ubuntu 26.04) = 4.12.4-1; = 4.12.4-2; = 4.13.1-1; All versions No fix listed No fix yet
ubuntu/freeipa(Ubuntu 26.10) = 4.13.1-1; = 4.13.1-1build1; All versions No fix listed No fix yet
ubuntu/freeipa(Ubuntu Pro 14.04) = 3.2.1-0ubuntu1; = 3.3.4-0ubuntu1; = 3.3.4-0ubuntu2; = 3.3.4-0ubuntu3 +3 more No fix listed No fix yet
ubuntu/freeipa(Ubuntu Pro 16.04) = 4.1.4-1; = 4.3.1-0ubuntu1; = 4.3.1-0ubuntu1+esm1; All versions No fix listed No fix yet
debian/freeipa(Debian 13) < 4.12.2-1 4.12.2-1 Fixed
debian/freeipa(Debian 14) < 4.12.2-1 4.12.2-1 Fixed
freeipa >= 4.11.0, < 4.11.2; >= 4.12.0, < 4.12.1 4.11.2, 4.12.1 Fixed
freeipa = 4.12.0; >= 4.11.0, < 4.11.2 4.11.2 Fixed
redhat enterprise linux < 0:4.11.0-15.el9_4; < 8100020240528133707.823393f5; = 8 0:4.11.0-15.el9_4, 8100020240528133707.823393f5 Fixed
redhat rhel eus < 0:4.10.1-12.el9_2.2; < 8080020240530051744.b0a6ceea 0:4.10.1-12.el9_2.2, 8080020240530051744.b0a6ceea Fixed

Affected products

ProductAffected versionsFixed in
debian/freeipa(Debian:12) All versions No fix listed
debian/freeipa(Debian:12) = 4.10.1+dfsg1-1+exp1 No fix listed
debian/freeipa(Debian:12) = 4.10.1-1+exp1 No fix listed
debian/freeipa(Debian:12) = 4.10.2-1 No fix listed
debian/freeipa(Debian:12) = 4.10.2-2 No fix listed
debian/freeipa(Debian:12) = 4.10.2-2+exp1 No fix listed
debian/freeipa(Debian:12) = 4.11.1-1 No fix listed
debian/freeipa(Debian:12) = 4.11.1-1+exp1 No fix listed
debian/freeipa(Debian:12) = 4.11.1-2 No fix listed
debian/freeipa(Debian:12) = 4.11.1-2+exp1 No fix listed
debian/freeipa(Debian:12) = 4.11.1-2.1 No fix listed
debian/freeipa(Debian:12) = 4.12.2-1 No fix listed
debian/freeipa(Debian:12) = 4.12.2-2 No fix listed
debian/freeipa(Debian:12) = 4.12.2-3 No fix listed
debian/freeipa(Debian:12) = 4.12.4-1 No fix listed
debian/freeipa(Debian:12) = 4.12.4-2 No fix listed
debian/freeipa(Debian:12) = 4.13.1-1 No fix listed
debian/freeipa(Debian:12) = 4.9.11-1 No fix listed
debian/freeipa(Debian:12) = 4.9.11-1+exp1 No fix listed
debian/freeipa(Debian:12) = 4.9.11-2 No fix listed
debian/freeipa(Debian:13) < 4.12.2-1 4.12.2-1
debian/freeipa(Debian:14) < 4.12.2-1 4.12.2-1
ubuntu/freeipa(Ubuntu:22.04) All versions No fix listed
freeipa >= 4.11.0, < 4.11.2 4.11.2
freeipa >= 4.12.0, < 4.12.1 4.12.1
Show 48 more
ProductAffected versionsFixed in
redhat enterprise linux < 8100020240528133707.823393f5 8100020240528133707.823393f5
redhat rhel eus < 8080020240530051744.b0a6ceea 8080020240530051744.b0a6ceea
redhat enterprise linux < 0:4.11.0-15.el9_4 0:4.11.0-15.el9_4
redhat rhel eus < 0:4.10.1-12.el9_2.2 0:4.10.1-12.el9_2.2
redhat rhel els = 6 No fix listed
redhat rhel els All versions No fix listed
redhat enterprise linux = 8 No fix listed
ubuntu/freeipa(Ubuntu:24.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:26.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:26.10) All versions No fix listed
freeipa = 4.12.0 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.2.1-0ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.3.4-0ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.3.4-0ubuntu2 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.3.4-0ubuntu3 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.3.4-0ubuntu3.1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:14.04) = 3.3.4-0ubuntu3.1+esm1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:Pro:16.04) = 4.1.4-1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:16.04) = 4.3.1-0ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:Pro:16.04) = 4.3.1-0ubuntu1+esm1 No fix listed
ubuntu/freeipa(Ubuntu:18.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:18.04) = 4.4.4-3ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:18.04) = 4.4.4-4 No fix listed
ubuntu/freeipa(Ubuntu:18.04) = 4.7.0~pre1+git20180411-2ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:18.04) = 4.7.0~pre1+git20180411-2ubuntu2 No fix listed
ubuntu/freeipa(Ubuntu:20.04) All versions No fix listed
ubuntu/freeipa(Ubuntu:20.04) = 4.8.1-2ubuntu1 No fix listed
ubuntu/freeipa(Ubuntu:20.04) = 4.8.3-1 No fix listed
ubuntu/freeipa(Ubuntu:20.04) = 4.8.6-1ubuntu2 No fix listed
ubuntu/freeipa(Ubuntu:22.04) = 4.8.6-1ubuntu6 No fix listed
ubuntu/freeipa(Ubuntu:22.04) = 4.8.6-1ubuntu8 No fix listed
ubuntu/freeipa(Ubuntu:22.04) = 4.8.6-1ubuntu9 No fix listed
ubuntu/freeipa(Ubuntu:22.04) = 4.9.8-1 No fix listed
ubuntu/freeipa(Ubuntu:24.04) = 4.10.2-1 No fix listed
ubuntu/freeipa(Ubuntu:24.04) = 4.10.2-2 No fix listed
ubuntu/freeipa(Ubuntu:24.04) = 4.10.2-2ubuntu3 No fix listed
ubuntu/freeipa(Ubuntu:24.04) = 4.11.1-1 No fix listed
ubuntu/freeipa(Ubuntu:24.04) = 4.11.1-2 No fix listed
ubuntu/freeipa(Ubuntu:25.10) All versions No fix listed
ubuntu/freeipa(Ubuntu:25.10) = 4.12.2-3 No fix listed
ubuntu/freeipa(Ubuntu:25.10) = 4.12.4-1 No fix listed
ubuntu/freeipa(Ubuntu:26.10) = 4.13.1-1 No fix listed
ubuntu/freeipa(Ubuntu:26.10) = 4.13.1-1build1 No fix listed
ubuntu/freeipa(Ubuntu:26.04) = 4.12.4-1 No fix listed
ubuntu/freeipa(Ubuntu:26.04) = 4.12.4-2 No fix listed
ubuntu/freeipa(Ubuntu:26.04) = 4.13.1-1 No fix listed

References