CVE-2024-2698 json
Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service
published 2024-06-12 2 y ago modified 2026-11-07 47 h ago also EUVD-2024-27644
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 8 8100020240528133707.823393f5
- Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 8080020240530051744.b0a6ceea
- Red Hat Red Hat Enterprise Linux 9 0:4.11.0-15.el9_4
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 0:4.10.1-12.el9_2.2
- freeipa Debian 14, Debian 13 4.12.2-1
debian advisories DEBIAN-CVE-2024-2698
- ipa RHEL 8 4.9.13-10.module+el8.10.0+21944+3943ad77
- pyusb RHEL 8 1.0.0-9.1.module+el8.9.0+18911+94941f82
- softhsm RHEL 8 2.6.0-5.module+el8.9.0+18911+94941f82
- custodia RHEL 8 0.6.0-3.module+el8.9.0+18911+94941f82
- slapi-nis RHEL 8 0.60.0-4.module+el8.10.0+20723+03062ebd
- ipa-client RHEL 8 4.9.13-10.module+el8.10.0+21944+3943ad77
- ipa-common RHEL 8 4.9.13-10.module+el8.10.0+21944+3943ad77
- ipa-server RHEL 8 4.9.13-10.module+el8.10.0+21944+3943ad77
red hat advisories RHSA-2024:3759RHSA-2024:3755RHSA-2024:3757RHSA-2024:3754
- ipa-client AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-common AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-server AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-selinux AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-client-epn AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-server-dns AlmaLinux 9 4.11.0-15.el9_4.alma.1
- python3-ipalib AlmaLinux 9 4.11.0-15.el9_4.alma.1
- ipa-client-samba AlmaLinux 9 4.11.0-15.el9_4.alma.1
almalinux advisories ALSA-2024:3754ALSA-2024:3755
- ipa Rocky Linux 9 4.11.0-15.el9_4
- ipa Rocky Linux 8 4.9.13-10.module+el8.10.0+1828+d0e644b0
- pyusb Rocky Linux 8 1.0.0-9.1.module+el8.9.0+1371+ffa84eb9
- softhsm Rocky Linux 8 2.6.0-5.module+el8.9.0+1371+ffa84eb9
- custodia Rocky Linux 8 0.6.0-3.module+el8.9.0+1371+ffa84eb9
- slapi-nis Rocky Linux 8 0.60.0-4.module+el8.9.0+1573+39ab85f4
- opendnssec Rocky Linux 8 2.1.7-1.module+el8.9.0+1371+ffa84eb9
- python-qrcode Rocky Linux 8 5.1-12.module+el8.9.0+1371+ffa84eb9
rocky linux advisories RLSA-2024:3754RLSA-2024:3755
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-2698 updated cvss 8.8
freeipa: delegation rules allow a proxy service to impersonate any user to access another target service
-
Red Hat Enterprise Linux 6 ipa, ipa-client, ipa-python, ipa-server, ipa-admintools, ipa-server-selinux, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 ipa, ipa-client, ipa-common, ipa-python, ipa-server, ipa-admintools, +8 moreaffected: workaround, no fix available
-
Red Hat CodeReady Linux Builder EUS (v.9.2) python3-ipatests 4.10.1-12.el9_2.2fixed: vendor fix RHSA-2024:3757
-
Red Hat Enterprise Linux AppStream (v. 8) ipa 4.9.13-10.module+el8.10.0+21944+3943ad77, pyusb 1.0.0-9.1.module+el8.9.0+18911+94941f82, softhsm 2.6.0-5.module+el8.9.0+18911+94941f82, custodia 0.6.0-3.module+el8.9.0+18911+94941f82, opendnssec 2.1.7-1.module+el8.9.0+18911+94941f82, slapi-nis 0.60.0-4.module+el8.10.0+20723+03062ebd, +29 morefixed: vendor fix RHSA-2024:3755
-
Red Hat Enterprise Linux AppStream (v. 9) ipa 4.11.0-15.el9_4, ipa-client 4.11.0-15.el9_4, ipa-common 4.11.0-15.el9_4, ipa-server 4.11.0-15.el9_4, ipa-selinux 4.11.0-15.el9_4, ipa-client-epn 4.11.0-15.el9_4, +8 morefixed: vendor fix RHSA-2024:3754
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) custodia 0.6.0-3.module+el8.1.0+4098+f286395e, ipa 4.9.11-11.module+el8.8.0+21953+5e839de2.1, pyusb 1.0.0-9.1.module+el8.7.0+15691+2b2c1dd5, softhsm 2.6.0-5.module+el8.4.0+10227+076cd560, opendnssec 2.1.7-1.module+el8.4.0+9007+5084bdd8, slapi-nis 0.60.0-4.module+el8.8.0+20635+330e3683, +29 morefixed: vendor fix RHSA-2024:3759
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) ipa 4.10.1-12.el9_2.2, ipa-client 4.10.1-12.el9_2.2, ipa-common 4.10.1-12.el9_2.2, ipa-server 4.10.1-12.el9_2.2, ipa-selinux 4.10.1-12.el9_2.2, ipa-client-epn 4.10.1-12.el9_2.2, +8 morefixed: vendor fix RHSA-2024:3757
-
Red Hat Enterprise Linux CRB (v. 9) python3-ipatests 4.11.0-15.el9_4fixed: vendor fix RHSA-2024:3754
show 1 moreshow fewer
-
Red Hat Enterprise Linux 8 ipa, ipa-client, ipa-common, ipa-server, ipa-selinux, ipa-client-epn, +10 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
access.redhat.com
/errata/RHSA-2024:3754
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3755
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3757
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3759
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-2698
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2270353
issue-tracking, mitigation, vendor-advisory
-
freeipa.org
/release-notes/4-12-1.html
release-notes
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/WT3JL7JQDIAFKKEFARWYES7GZNWGQNCI/
Sources
- CVE List CVE-2024-2698
- NVD CVE-2024-2698
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.