CVE-2025-4404
Freeipa: idm: privilege escalation from host to domain admin in freeipa
Check your servers for CVE-2025-4404
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-4404 affects ipa, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 2.01%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 81.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-1220 Insufficient Granularity of Access Control
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
freeipa
package
freeipa |
affected before 4.12.4
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
ipa |
unaffected 0:4.12.2-15.el10_0.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
ipa |
unaffected 0:4.6.8-5.el7_9.18 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
idm:client |
unaffected 8100020250603150652.143e9e98 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
idm:DL1 |
unaffected 8100020250603134209.823393f5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
idm:client |
unaffected 8020020250609031831.50ea30f9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
idm:DL1 |
unaffected 8020020250609030144.792f4060 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
idm:client |
unaffected 8040020250609101903.f153676a and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8040020250609095221.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
idm:client |
unaffected 8060020250606060927.c1533a64 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8060020250606060504.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
idm:client |
unaffected 8060020250606060927.c1533a64 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
idm:DL1 |
unaffected 8060020250606060504.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
idm:client |
unaffected 8060020250606060927.c1533a64 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8060020250606060504.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
idm:client |
unaffected 8080020250604195510.e581a9e4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
idm:DL1 |
unaffected 8080020250604202433.b0a6ceea and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
idm:client |
unaffected 8080020250604195510.e581a9e4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8080020250604202433.b0a6ceea and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
ipa |
unaffected 0:4.12.2-14.el9_6.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
ipa |
unaffected 0:4.9.8-11.el9_0.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
ipa |
unaffected 0:4.10.1-12.el9_2.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
ipa |
unaffected 0:4.11.0-15.el9_4.5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
ipa |
unknown the record does not list versions
|
Is my server affected?
Find the installed version of ipa and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ipa
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-4404 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-4404RHEL, Rocky, Alma, Fedora
rpm -q ipa
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-4404Alpine
apk list --installed | grep -i ipaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-4404
trivy image --scanners vuln IMAGE | grep CVE-2025-4404
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2025:9184 access.redhat.com · vendor advisory
- RHSA-2025:9185 access.redhat.com · vendor advisory
- RHSA-2025:9186 access.redhat.com · vendor advisory
- RHSA-2025:9187 access.redhat.com · vendor advisory
- RHSA-2025:9188 access.redhat.com · vendor advisory
- RHSA-2025:9189 access.redhat.com · vendor advisory
- RHSA-2025:9190 access.redhat.com · vendor advisory
- RHSA-2025:9191 access.redhat.com · vendor advisory
- RHSA-2025:9192 access.redhat.com · vendor advisory
- RHSA-2025:9193 access.redhat.com · vendor advisory
- RHSA-2025:9194 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-4404 access.redhat.com · vdb entry
- RHBZ#2364606 bugzilla.redhat.com · issue tracking
Other references
- https://pagure.io/freeipa/c/6b9400c135ed16b10057b350cc9ce42aa0e862d4 pagure.io
- https://pagure.io/freeipa/c/796ed20092d554ee0c9e23295e346ec1e8a0bf6e pagure.io
- http://www.openwall.com/lists/oss-security/2025/09/30/6 openwall.com
Source: the record CVE-2025-4404 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse