CVE-2024-2698

high

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.

References

https://www.freeipa.org/release-notes/4-12-1.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/WT3JL7JQDIAFKKEFARWYES7GZNWGQNCI/

https://bugzilla.redhat.com/show_bug.cgi?id=2270353

https://bugzilla.redhat.com/show_bug.cgi?id=2270353

https://access.redhat.com/security/cve/CVE-2024-2698

https://access.redhat.com/security/cve/CVE-2024-2698

https://access.redhat.com/errata/RHSA-2024:3759

https://access.redhat.com/errata/RHSA-2024:3759

https://access.redhat.com/errata/RHSA-2024:3757

https://access.redhat.com/errata/RHSA-2024:3757

https://access.redhat.com/errata/RHSA-2024:3755

https://access.redhat.com/errata/RHSA-2024:3755

https://access.redhat.com/errata/RHSA-2024:3754

https://access.redhat.com/errata/RHSA-2024:3754

Details

Source: Mitre, NVD

Published: 2024-06-12

Updated: 2024-06-27

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:P/A:N

Severity: High

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Severity: High