CVE-2024-2698

NameCVE-2024-2698
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1077682

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
freeipa (PTS)buster (security), buster, buster (lts)4.7.2-3+deb10u1vulnerable
bookworm4.9.11-1vulnerable
sid4.12.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
freeipasource(unstable)4.12.2-1unimportant1077682

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2270353
https://www.freeipa.org/release-notes/4-12-1.html
https://pagure.io/freeipa/c/3b58080f67eb940023d612aabd30533f1dc9387f
https://pagure.io/freeipa/c/2e1132a90a1d753db95ba2c699e0b18c2fc6f256 (release-4-12-1)
FreeIPA in Debian only builds the client packages, not the server

Search for package or bug name: Reporting problems