IM
IronMonkey Threat Research

CVE-2025-4598 MEDIUM

Published: 2025-05-30 | Last Modified: 2026-06-30 | 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 0x702bdd6ae600> Application
systemd_project systemd * <built-in method update of dict object at 0x702bdd6ac580> Application
systemd_project systemd * <built-in method update of dict object at 0x702bdd6a4c00> Application
systemd_project systemd * <built-in method update of dict object at 0x702bdd12b580> Application
systemd_project systemd * <built-in method update of dict object at 0x702bdd6ad380> Application
systemd_project systemd * <built-in method update of dict object at 0x702bdd6aedc0> Application
redhat openshift_container_platform 4.0 <built-in method update of dict object at 0x702bdd6a7b40> Application
redhat enterprise_linux 7.0 <built-in method update of dict object at 0x702bdd6a6b00> Operating System
redhat enterprise_linux 8.0 <built-in method update of dict object at 0x702bddc2ee40> Operating System
redhat enterprise_linux 9.0 <built-in method update of dict object at 0x702bdd6ae240> Operating System
redhat enterprise_linux 10.0 <built-in method update of dict object at 0x702bdd6a6a40> Operating System
debian debian_linux 11.0 <built-in method update of dict object at 0x702bdd6af2c0> Operating System
debian debian_linux 12.0 <built-in method update of dict object at 0x702bdd6adc00> Operating System
oracle linux 8 <built-in method update of dict object at 0x702bddc2e100> Operating System
oracle linux 9 <built-in method update of dict object at 0x702ba7d67c00> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bdc50ce00> 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

Notification
Message here