CVE-2024-3183
Freeipa: user can obtain a hash of the passwords of all domain users and perform offline brute force
Description
A vulnerability was found in FreeIPA in a way when a Kerberos TGS-REQ is encrypted using the client’s session key. This key is different for each new session, which protects it from brute force attacks. However, the ticket it contains is encrypted using the target principal key directly. For user principals, this key is a hash of a public per-principal randomly-generated salt and the user’s password.
If a principal is compromised it means the attacker would be able to retrieve tickets encrypted to any principal, all of them being encrypted by their own key directly. By taking these tickets and salts offline, the attacker could run brute force attacks to find character strings able to decrypt tickets when combined to a principal salt (i.e. find the principal’s password).
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- 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
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 2.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 83.3% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 12 Jun 2024):
- 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-916 Use of Password Hash With Insufficient Computational Effort
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
freeipa
package
freeipa |
unaffected 4.12.1
Other versions: unknown
|
|
Red Hat Enterprise Linux 7
package
ipa |
unaffected 0:4.6.8-5.el7_9.17 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
idm:DL1 |
unaffected 8100020240528133707.823393f5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
idm:DL1 |
unaffected 8020020240530191103.792f4060 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8040020240528055121.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
package
idm:DL1 |
unaffected 8040020240528055121.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8040020240528055121.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8060020240530061719.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
idm:DL1 |
unaffected 8060020240530061719.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8060020240530061719.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Extended Update Support
package
idm:DL1 |
unaffected 8080020240530051744.b0a6ceea and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
ipa |
unaffected 0:4.11.0-15.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Extended Update Support
package
ipa |
unaffected 0:4.9.8-11.el9_0.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Extended Update Support
package
ipa |
unaffected 0:4.10.1-12.el9_2.2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10
package
ipa |
unaffected 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 their own package version, 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-2024-3183 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-3183RHEL, Rocky, Alma, Fedora
rpm -q ipa
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-3183Alpine
apk list --installed | grep -i ipaWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2024-3183
trivy image --scanners vuln IMAGE | grep CVE-2024-3183
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- RHSA-2024:3754 access.redhat.com · vendor advisory
- RHSA-2024:3755 access.redhat.com · vendor advisory
- RHSA-2024:3756 access.redhat.com · vendor advisory
- RHSA-2024:3757 access.redhat.com · vendor advisory
- RHSA-2024:3758 access.redhat.com · vendor advisory
- RHSA-2024:3759 access.redhat.com · vendor advisory
- RHSA-2024:3760 access.redhat.com · vendor advisory
- RHSA-2024:3761 access.redhat.com · vendor advisory
- RHSA-2024:3775 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-3183 access.redhat.com · vdb entry
- RHBZ#2270685 bugzilla.redhat.com · issue tracking
Other references
- https://www.freeipa.org/release-notes/4-12-1.html freeipa.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WT3JL7JQDIAFKKEFARWYES7GZNWGQNCI/ lists.fedoraproject.org
Source: the record CVE-2024-3183 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.