CVE-2025-4598 - log back

CVE-2025-4598 edited at 04 Jun 2025 00:24:53
References
https://lore.kernel.org/all/20250414-work-coredump-v2-0-685bf231f828@kernel.org/
+ https://lore.kernel.org/linux-fsdevel/20250602-eilte-experiment-4334f67dc5d8@brauner/T/#m03e7e205c913101dc452c391bf283661049ca494
https://blog.qualys.com/vulnerabilities-threat-research/2025/05/29/qualys-tru-discovers-two-local-information-disclosure-vulnerabilities-in-apport-and-systemd-coredump-cve-2025-5054-and-cve-2025-4598
https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
https://nvd.nist.gov/vuln/detail/CVE-2025-4598
CVE-2025-4598 created at 04 Jun 2025 00:15:27
Severity
+ Medium
Remote
+ Local
Type
+ Information disclosure
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.
References
+ https://lore.kernel.org/all/20250414-work-coredump-v2-0-685bf231f828@kernel.org/
+ https://blog.qualys.com/vulnerabilities-threat-research/2025/05/29/qualys-tru-discovers-two-local-information-disclosure-vulnerabilities-in-apport-and-systemd-coredump-cve-2025-5054-and-cve-2025-4598
+ https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
+ https://nvd.nist.gov/vuln/detail/CVE-2025-4598
Notes