Freeipa: delegation rules allow a proxy service to impersonate any user to access another target service
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | freeipa | 4.11.0 to before 4.11.2; 4.12.0 to before 4.12.1 | 4.11.2, 4.12.1 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 8100020240528133707.823393f5 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | — | 8080020240530051744.b0a6ceea | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 4.11.0-15.el9_4 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | — | 4.10.1-12.el9_2.2 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- freeipa Vendor— Affected 4.11.0 to before 4.11.2; 4.12.0 to before 4.12.1 Fixed in 4.11.2, 4.12.1 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 8100020240528133707.823393f5 Patch available CNA
- Red Hat Enterprise Linux 8.8 Extended Update Support VendorRed Hat Affected — Fixed in 8080020240530051744.b0a6ceea Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 4.11.0-15.el9_4 Patch available CNA
- Red Hat Enterprise Linux 9.2 Extended Update Support VendorRed Hat Affected — Fixed in 4.10.1-12.el9_2.2 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:freeipa:freeipa:*:*:*:*:*:*:*:* | 4.11.0 to before 4.11.2 | Vulnerable | FreeIPA |
| cpe:2.3:a:freeipa:freeipa:4.12.0:*:*:*:*:*:*:* | 4.12.0 | Vulnerable | FreeIPA |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.8:*:*:*:*:*:*:* | 8.8 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* | 9.2 | Running on | Red Hat |
- cpe:2.3:a:freeipa:freeipa:*:*:*:*:*:*:*:* Versions 4.11.0 to before 4.11.2 Vulnerable ·FreeIPA
- cpe:2.3:a:freeipa:freeipa:4.12.0:*:*:*:*:*:*:* Versions 4.12.0 Vulnerable ·FreeIPA
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.8:*:*:*:*:*:*:* Versions 8.8 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* Versions 9.2 Running on ·Red Hat
Remediation
- Fix · CNA freeipa Fixed in 4.11.2, 4.12.1
Red Hat 4 advisories
- RHSA-2024:3757 Released 2024-06-10 · Red Hat rating Importantipa security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) python3-ipatests-4.10.1-12.el9_2.2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) ipa-4.10.1-12.el9_2.2, ipa-client-4.10.1-12.el9_2.2, ipa-client-common-4.10.1-12.el9_2.2 +11
- RHSA-2024:3759 Released 2024-06-10 · Red Hat rating Importantidm:DL1 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) bind-dyndb-ldap-11.6-4.module+el8.8.0+21675+157fa23b.2.aarch64::idm:DL1, bind-dyndb-ldap-11.6-4.module+el8.8.0+21675+157fa23b.2.ppc64le::idm:DL1, bind-dyndb-ldap-11.6-4.module+el8.8.0+21675+157fa23b.2.s390x::idm:DL1 +47
- RHSA-2024:3755 Released 2024-06-10 · Red Hat rating Importantidm:DL1 security update
- Red Hat Enterprise Linux AppStream (v. 8) bind-dyndb-ldap-11.6-5.module+el8.10.0+21691+df63127d.aarch64::idm:DL1, bind-dyndb-ldap-11.6-5.module+el8.10.0+21691+df63127d.ppc64le::idm:DL1, bind-dyndb-ldap-11.6-5.module+el8.10.0+21691+df63127d.s390x::idm:DL1 +47
Show 1 more Red Hat advisories
- RHSA-2024:3754 Released 2024-06-10 · Red Hat rating Importantipa security update
- Red Hat Enterprise Linux AppStream (v. 9) ipa-4.11.0-15.el9_4, ipa-client-4.11.0-15.el9_4, ipa-client-common-4.11.0-15.el9_4 +11
- Red Hat Enterprise Linux CRB (v. 9) python3-ipatests-4.11.0-15.el9_4
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 and 3 more products — RHSA-2024:3754
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2024-02983 Freeipa: user can obtain a hash of the passwords of all domain users and perform offline brute forcePriority MEDIUM 41
- Advisory ·
Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 and 3 more products — RHSA-2024:3755
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2024-02983 Freeipa: user can obtain a hash of the passwords of all domain users and perform offline brute forcePriority MEDIUM 41
Show 2 more groups
- Advisory ·
Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 and 3 more products — RHSA-2024:3757
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2024-02983 Freeipa: user can obtain a hash of the passwords of all domain users and perform offline brute forcePriority MEDIUM 41
- Advisory ·
Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 and 3 more products — RHSA-2024:3759
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2024-02983 Freeipa: user can obtain a hash of the passwords of all domain users and perform offline brute forcePriority MEDIUM 41
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:3757 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:3755 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:3754 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2024:3759 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:3757 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:3754 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2698
- 2026-10-03 Alias added: GHSA-jhc8-v2x5-jvj5
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-2698 · CVE Program
- CVE-2024-2698 · NVD
- FIRST EPSS
- GHSA-jhc8-v2x5-jvj5 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-2698 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences