Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service (freeipa)

CVE-2024-2698
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.67 % · percentile 52 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-863 — Incorrect Authorization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
freeipaaffected 4.11.0 < 4.11.2 ; affected 4.12.0 < 4.12.1
Red Hat · Red Hat Enterprise Linux 8unaffected 8100020240528133707.823393f5 < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Supportunaffected 8080020240530051744.b0a6ceea < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:4.11.0-15.el9_4 < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Supportunaffected 0:4.10.1-12.el9_2.2 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD