Auth bypass in Freeipa
CVE-2024-2698
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Freeipa — versions 4.12.0
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Weakness classification (CWE)
References
- access.redhat.com/errata/RHSA-2024:3754 (vendor-advisory, Vendor Advisory)
- access.redhat.com/errata/RHSA-2024:3755 (vendor-advisory, Vendor Advisory)
- access.redhat.com/errata/RHSA-2024:3757 (vendor-advisory, Vendor Advisory)
- access.redhat.com/errata/RHSA-2024:3759 (vendor-advisory, Vendor Advisory)
- access.redhat.com/security/cve/CVE-2024-2698 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Mitigation, Issue Tracking, Vendor Advisory)
- www.freeipa.org/release-notes/4-12-1.html (Release Notes)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…