{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-32802","assignerOrgId":"404fd4d2-a609-4245-b543-2c944a302a22","state":"PUBLISHED","assignerShortName":"isc","dateReserved":"2025-04-10T12:51:45.055Z","datePublished":"2025-05-28T17:08:11.180Z","dateUpdated":"2025-05-28T17:23:22.213Z"},"containers":{"cna":{"providerMetadata":{"orgId":"404fd4d2-a609-4245-b543-2c944a302a22","shortName":"isc","dateUpdated":"2025-05-28T17:08:11.180Z"},"title":"Insecure handling of file paths allows multiple local attacks","datePublic":"2025-05-28T00:00:00.000Z","affected":[{"vendor":"ISC","product":"Kea","versions":[{"version":"2.4.0","lessThanOrEqual":"2.4.1","status":"affected","versionType":"custom"},{"version":"2.6.0","lessThanOrEqual":"2.6.2","status":"affected","versionType":"custom"},{"version":"2.7.0","lessThanOrEqual":"2.7.8","status":"affected","versionType":"custom"}],"defaultStatus":"unaffected"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path"},{"lang":"en","type":"CWE","cweId":"CWE-379","description":"CWE-379 Creation of Temporary File in Directory with Insecure Permissions"}]}],"descriptions":[{"lang":"en","value":"Kea configuration and API directives can be used to overwrite arbitrary files, subject to permissions granted to Kea.  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."}],"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 use the API to arbitrarily modify Kea's configuration or to overwrite any file Kea has write access to.  If Kea is running as root, the attacker could overwrite any local file.  This can lead to local privilege escalation and/or system-wide denial of service.  If control sockets are placed in an insecure location, any local user may be able to impersonate a Kea service or prevent the real Kea service from starting."}]}],"workarounds":[{"lang":"en","value":"Two mitigation approaches are possible: (1) Disable the 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 for bringing this vulnerability to our attention."}],"references":[{"url":"https://kb.isc.org/docs/cve-2025-32802","name":"CVE-2025-32802","tags":["vendor-advisory"]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-28T17:23:10.150529Z","id":"CVE-2025-32802","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-05-28T17:23:22.213Z"}}]}}