Bug 2270353 (CVE-2024-2698) - CVE-2024-2698 freeipa: delegation rules allow a proxy service to impersonate any user to access another target service
Summary: CVE-2024-2698 freeipa: delegation rules allow a proxy service to impersonate ...
Keywords:
Status: NEW
Alias: CVE-2024-2698
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2291165
Blocks: 2270347
TreeView+ depends on / blocked
 
Reported: 2024-03-19 21:04 UTC by Robb Gatica
Modified: 2024-06-27 12:18 UTC (History)
5 users (show)

Fixed In Version: FreeIPA 4.11.2, FreeIPA 4.12.1
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:3940 0 None None None 2024-06-17 01:01:40 UTC
Red Hat Product Errata RHSA-2024:3754 0 None None None 2024-06-10 14:06:40 UTC
Red Hat Product Errata RHSA-2024:3755 0 None None None 2024-06-10 14:17:39 UTC
Red Hat Product Errata RHSA-2024:3757 0 None None None 2024-06-10 14:44:14 UTC
Red Hat Product Errata RHSA-2024:3759 0 None None None 2024-06-10 14:21:36 UTC

Description Robb Gatica 2024-03-19 21:04:41 UTC
Description:
Delegation rules allow a "proxy" service to impersonate any user to access another "target" service. The vulnerability allows an attacker, once they managed to compromise a service which is a proxy in at least one delegation rule, to impersonate any user against any service that is not a target service in one of its delegation rule.

As an example, it would allow an attacker, after they compromised a server having a delegation rule to an NFS server, to impersonate a
domain administrator against a FreeIPA server. This would mean compromising the all domain.

If there are no custom delegation rules in a FreeIPA domain, this vulnerability will most likely have no impact.

Comment 4 Sandipan Roy 2024-06-10 13:20:37 UTC
Created freeipa tracking bugs for this issue:

Affects: fedora-all [bug 2291165]

Comment 5 errata-xmlrpc 2024-06-10 14:06:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 6 errata-xmlrpc 2024-06-10 14:17:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 errata-xmlrpc 2024-06-10 14:21:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

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

Comment 8 errata-xmlrpc 2024-06-10 14:44:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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


Note You need to log in before you can comment on or make changes to this bug.