CVE-2025-4404 Freeipa: idm: privilege escalation from host to domain admin in freeipa
Attackers can escalate privileges from host to domain admin by creating services with duplicate canonical names, gaining administrative control and data access.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-4404?
CVE-2025-4404 is a critical vulnerability in Red Hat Enterprise Linux 10, published on 17 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A privilege escalation from host to domain vulnerability was found in the FreeIPA project. The FreeIPA package fails to validate the uniqueness of the `krbCanonicalName` for the admin account by default, allowing users to create services with the same canonical name as the REALM admin. When a successful attack happens, the user can retrieve a Kerberos ticket in the name of this service, containing the admin@REALM credential. This flaw allows an attacker to perform administrative tasks over the REALM, leading to access to sensitive data and sensitive data exfiltration.
Weakness: CWE-1220
Which versions are affected by CVE-2025-4404?
Linux distribution packages (40)
ipa-client-common AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-common AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-selinux AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-selinux-luna AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-selinux-nfast AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-server-common AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
ipa-server-dns AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
python3-ipaclient AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
python3-ipalib AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
python3-ipaserver AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
python3-ipatests AlmaLinux:10 | All versions | 4.12.2-15.el10_0.1 |
bind-dyndb-ldap AlmaLinux:8 | All versions | 11.6-6.module_el8.10.0+3980+d78e8e90 |
custodia AlmaLinux:8 | All versions | 0.6.0-3.module_el8.6.0+2881+2f24dc92 |
ipa-client AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-client-common AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-client-epn AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-client-samba AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-common AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-healthcheck AlmaLinux:8 | All versions | 0.12-5.module_el8.10.0+3980+d78e8e90 |
ipa-healthcheck-core AlmaLinux:8 | All versions | 0.12-5.module_el8.10.0+3980+d78e8e90 |
ipa-python-compat AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-selinux AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-server AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-server-common AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-server-dns AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
ipa-server-trust-ad AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
opendnssec AlmaLinux:8 | All versions | 2.1.7-2.module_el8.10.0+3980+d78e8e90 |
python3-custodia AlmaLinux:8 | All versions | 0.6.0-3.module_el8.6.0+2881+2f24dc92 |
python3-ipaclient AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
python3-ipalib AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
python3-ipaserver AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
python3-ipatests AlmaLinux:8 | All versions | 4.9.13-18.module_el8.10.0+4018+32aeeb28 |
python3-jwcrypto AlmaLinux:8 | All versions | 0.5.0-2.module_el8.10.0+3844+20e075e5 |
python3-kdcproxy AlmaLinux:8 | All versions | 0.4-5.module_el8.10.0+3942+63b39a46.1 |
python3-pyusb AlmaLinux:8 | All versions | 1.0.0-9.1.module_el8.7.0+3349+cfeff52e |
python3-qrcode AlmaLinux:8 | All versions | 5.3-1.module_el8.10.0+3942+63b39a46 |
python3-qrcode-core AlmaLinux:8 | All versions | 5.3-1.module_el8.10.0+3942+63b39a46 |
python3-yubico AlmaLinux:8 | All versions | 1.3.2-9.1.module_el8.7.0+3349+cfeff52e |
slapi-nis AlmaLinux:8 | All versions | 0.60.0-4.module_el8.10.0+3844+20e075e5.alma.1 |
softhsm AlmaLinux:8 | All versions | 2.6.0-5.module_el8.6.0+2881+2f24dc92 |
How do I fix CVE-2025-4404?
Apply the vendor's patch.
Is CVE-2025-4404 being exploited?
There is no known exploitation of CVE-2025-4404 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as ALSA-2025:9184, ALSA-2025:9188, ALSA-2025:9190, DEBIAN-CVE-2025-4404, GHSA-w66p-wgwc-mqmw, RHSA-2025:9184 and 14 more.