Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service (freeipa)
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
- https://access.redhat.com/errata/RHSA-2024:3754
- https://access.redhat.com/errata/RHSA-2024:3755
- https://access.redhat.com/errata/RHSA-2024:3757
- https://access.redhat.com/errata/RHSA-2024:3759
- https://access.redhat.com/security/cve/CVE-2024-2698
- https://bugzilla.redhat.com/show_bug.cgi?id=2270353
- https://www.freeipa.org/release-notes/4-12-1.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WT3JL7JQDIAFKKEFARWYES7GZNWGQNCI/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Secondary) |
European references
- ENISA EUVD · EUVD-2024-27644
- GCVE · GCVE-0-2024-2698
Affected configurations (NVD CPE)
cpe:2.3:a:freeipa:freeipa:*:*:*:*:*:*:*:*≥ 4.11.0 < 4.11.2cpe:2.3:a:freeipa:freeipa:4.12.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| freeipa | affected 4.11.0 < 4.11.2 ; affected 4.12.0 < 4.12.1 |
| Red Hat · Red Hat Enterprise Linux 8 | unaffected 8100020240528133707.823393f5 < * |
| Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 8080020240530051744.b0a6ceea < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 0:4.11.0-15.el9_4 < * |
| Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 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
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |