{"id":"CVE-2025-32801","state":"PUBLISHED","title":"Loading a malicious hook library can lead to local privilege escalation","description":"Kea configuration and API directives can be used to load a malicious hook library.  Many common configurations run Kea as root, leave the API entry points unsecured by default, and/or place the control sockets in insecure paths.\nThis issue affects Kea versions 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8.","publishedAt":"2025-05-28T17:03:34.499Z","updatedAt":"2025-05-28T17:33:50.355Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"isc"},"assigner":"isc","products":["ISC Kea"],"affected":[{"vendor":"ISC","product":"Kea","defaultStatus":"unaffected","versions":[{"version":"2.4.0","status":"affected","lessThanOrEqual":"2.4.1","versionType":"custom"},{"version":"2.6.0","status":"affected","lessThanOrEqual":"2.6.2","versionType":"custom"},{"version":"2.7.0","status":"affected","lessThanOrEqual":"2.7.8","versionType":"custom"}]}],"references":["https://kb.isc.org/docs/cve-2025-32801"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/32xxx/CVE-2025-32801.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-32801","state":"PUBLISHED","datePublished":"2025-05-28T17:03:34.499Z","dateUpdated":"2025-05-28T17:33:50.355Z","assignerShortName":"isc","assignerOrgId":"404fd4d2-a609-4245-b543-2c944a302a22","dateReserved":"2025-04-10T12:51:45.055Z"},"containers":{"cna":{"title":"Loading a malicious hook library can lead to local privilege escalation","descriptions":[{"lang":"en","value":"Kea configuration and API directives can be used to load a malicious hook library.  Many common configurations run Kea as root, leave the API entry points unsecured by default, and/or place the control sockets in insecure paths.\nThis issue affects Kea versions 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8."}],"affected":[{"vendor":"ISC","product":"Kea","defaultStatus":"unaffected","versions":[{"version":"2.4.0","status":"affected","lessThanOrEqual":"2.4.1","versionType":"custom"},{"version":"2.6.0","status":"affected","lessThanOrEqual":"2.6.2","versionType":"custom"},{"version":"2.7.0","status":"affected","lessThanOrEqual":"2.7.8","versionType":"custom"}]}],"references":[{"url":"https://kb.isc.org/docs/cve-2025-32801","name":"CVE-2025-32801","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","type":"CWE","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"isc","orgId":"404fd4d2-a609-4245-b543-2c944a302a22","dateUpdated":"2025-05-28T17:03:34.499Z"},"datePublic":"2025-05-28T00:00:00.000Z","impacts":[{"descriptions":[{"lang":"en","value":"If an attacker has access to a local unprivileged user account, and the Kea API entry points are not secured, the attacker can instruct Kea to load a hook library from an arbitrary local file (including a file introduced by the attacker).  The malicious hook would execute with the privileges available to Kea."}]}],"workarounds":[{"lang":"en","value":"Two mitigation approaches are possible: (1) Disable the Kea API entirely, by (1a) disabling the `kea-ctrl-agent`, and (1b) removing any `\"control-socket\"` stanzas from the Kea configuration files; or (2) Secure access to the API by (2a) requiring authentication (a password or client certificate) for the `kea-ctrl-agent`, and (2b) configuring all `\"control-socket\"` stanzas to use a directory restricted to only trusted users."}],"exploits":[{"lang":"en","value":"We are not aware of any active exploits."}],"solutions":[{"lang":"en","value":"Upgrade to the patched release most closely related to your current version of Kea: 2.4.2, 2.6.3, or 2.7.9."}],"credits":[{"lang":"en","value":"ISC would like to thank Matthias Gerstner from the SUSE security team and Laura Pardo from Red Hat's Product Security Team for bringing this vulnerability to our attention."}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-28T17:33:36.266136Z","id":"CVE-2025-32801","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-28T17:33:50.355Z"}}]}}}