IM
IronMonkey Threat Research

CVE-2025-4598 MEDIUM

Published: 2025-05-30 | Last Modified: 2026-09-01 | Status: Modified

Description

A vulnerability was found in systemd-coredump. This flaw allows an attacker to force a SUID process to crash and replace it with a non-SUID binary to access the original's privileged process coredump, allowing the attacker to read sensitive data, such as /etc/shadow content, loaded by the original process. A SUID binary or process has a special type of permission, which allows the process to run with the file owner's permissions, regardless of the user executing the binary. This allows the process to access more restricted data than unprivileged users or processes would be able to. An attacker can leverage this flaw by forcing a SUID process to crash and force the Linux kernel to recycle the process PID before systemd-coredump can analyze the /proc/pid/auxv file. If the attacker wins the race condition, they gain access to the original's SUID process coredump file. They can read sensitive content loaded into memory by the original binary, affecting data confidentiality.

Additional Descriptions (1)

Se ha encontrado una vulnerabilidad en systemd-coredump. Este fallo permite a un atacante forzar un proceso SUID para que deje de funcionar y reemplazarlo con un no-SUID binario para acceder al proceso original y con privilegios coredump; lo que permite al atacante leer información sensible, como el contenido de /etc/shadow, cargado por el proceso original. Un binario SUID o proceso tiene un tipo especial de permiso que faculta al proceso a ejecutarse con los permisos del propietario del fichero, independientemente de quién sea el usuario que ejecuta el binario. Esto permite al proceso acceder a datos más restringidos que a un usuario sin privilegios o a un proceso. Un atacante puede aprovechar este fallo forzando la caída de un proceso SUID y haciendo que el kernel de Linux recicle el PID del proceso antes de que systemd-coredump pueda analizar el fichero /proc/pid/auxv. Si el atacante gana la condición de carrera, obtiene acceso al fichero coredump del proceso SUID original y puede leer contenido sensible cargado en la memoria por el binario original, lo que afecta a la confidencialidad de la información.

CVSS Metrics

Base Score: 4.7 (MEDIUM)

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack VectorLOCAL
Attack ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactNONE
Availability ImpactNONE

Source: [email protected]

Type: Secondary

Exploitability Score: 1.0

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-364

Affected Products

Vendor Product Version Update Type
systemd_project systemd * <built-in method update of dict object at 0x7fd39c48be00> Application
systemd_project systemd * <built-in method update of dict object at 0x7fd36b1f9c00> Application
systemd_project systemd * <built-in method update of dict object at 0x7fd36b57f480> Application
systemd_project systemd * <built-in method update of dict object at 0x7fd37038e240> Application
systemd_project systemd * <built-in method update of dict object at 0x7fd39c4892c0> Application
systemd_project systemd * <built-in method update of dict object at 0x7fd36b1f9000> Application
redhat openshift_container_platform 4.0 <built-in method update of dict object at 0x7fd2d3f29f80> Application
redhat enterprise_linux 7.0 <built-in method update of dict object at 0x7fd3703cec80> Operating System
redhat enterprise_linux 8.0 <built-in method update of dict object at 0x7fd36b57fc80> Operating System
redhat enterprise_linux 9.0 <built-in method update of dict object at 0x7fd39c48a0c0> Operating System
redhat enterprise_linux 10.0 <built-in method update of dict object at 0x7fd36b57c640> Operating System
debian debian_linux 11.0 <built-in method update of dict object at 0x7fd36b1fae40> Operating System
debian debian_linux 12.0 <built-in method update of dict object at 0x7fd3703ce240> Operating System
oracle linux 8 <built-in method update of dict object at 0x7fd38674c280> Operating System
oracle linux 9 <built-in method update of dict object at 0x7fd3686eda40> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36b1fb100> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:oracle:linux:8:-:*:*:*:*:*:*
Yes cpe:2.3:o:oracle:linux:9:-:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References