8.8high
Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service
- Severity
- 8.8high CVSS:3.1 by redhat
- Exploit likelihood
- 1.18% (higher than 68% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| freeipa | from 4.11.0 before 4.11.2, from 4.12.0 before 4.12.1 | CVE List |
| idm:DL1 | Not specified Not affected: from 8100020240528133707.823393f5 before *, from 8080020240530051744.b0a6ceea before * | CVE List |
| ipa | Not specified Not affected: from 0:4.11.0-15.el9_4 before *, from 0:4.10.1-12.el9_2.2 before * | CVE List |
| idm:client/ipa | Not specified | CVE List |
| freeipa freeipa | from 4.11.0 before 4.11.2, 4.12.0 | NVD |
All scores
| redhat | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en FreeIPA en la que a la implementación inicial de MS-SFU por parte de MIT Kerberos le faltaba una condición para otorgar el indicador "reenviable" en los tickets S4U2Self. Para corregir este error fue necesario agregar un caso especial para la función check_allowed_to_delegate(): si el argumento del servicio de destino es NULL, entonces significa que el KDC está investigando reglas generales de delegación restringida y no verificando una solicitud S4U2Proxy específica. En FreeIPA 4.11.0, el comportamiento de ipadb_match_acl() se modificó para que coincida con los cambios del MIT Kerberos 1.20. Sin embargo, un error que resulta en este mecanismo se aplica en los casos en los que el argumento del servicio de destino está establecido Y donde no está establecido. Esto da como resultado que las solicitudes S4U2Proxy se acepten independientemente de si existe o no una regla de delegación de servicios coincidente.
References
| https://access.redhat.com/errata/RHSA-2024:3754 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:3755 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:3757 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:3759 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2024-2698 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2270353 | issue-tracking, mitigation, vendor-advisory | |
| https://www.freeipa.org/release-notes/4-12-1.html | release-notes | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WT3JL7JQDIAFKKEFARWYES7GZNWGQNCI/ | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2698 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2024-2698 changed 2026-11-23 | Public domain |