🔍 CVE-2025-4598

4.7
CVSS Score
MEDIUM
2025-05-30
2026-09-01 12:17
✅ 완료

🇰🇷 한글 설명

systemd-coredump의 경쟁 상태 취약점으로, 공격자가 SUID 프로세스를 강제 충돌시킨 후 프로세스 PID 재활용 전에 코어덤프 파일에 접근할 수 있습니다. 이를 통해 원본 SUID 프로세스가 메모리에 로드한 /etc/shadow 같은 민감한 데이터를 읽을 수 있어 정보 기밀성이 침해됩니다.

💡 쉬운 설명

관리자 권한으로 실행되는 특수 프로그램을 강제로 충돌시킨 후, 그 프로그램의 메모리 내용(비밀번호 파일 포함)을 읽을 수 있는 취약점입니다. 일반 사용자가 비밀번호 같은 보호된 정보에 접근할 수 있게 됩니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

systemd-coredump를 포함한 systemd 패키지 (특정 버전 정보 필요)

⚔️ 공격 벡터

SUID 프로세스 강제 충돌 및 PID 재활용 경쟁 조건 악용으로 코어덤프 파일 접근

🛡️ 대응 방법

systemd 및 systemd-coredump를 최신 보안 업데이트 버전으로 업그레이드

🔧 검증 코드

현재 설치된 systemd 버전 번호가 표시됩니다. 보안 공지에서 권고하는 최소 버전 이상인지 확인하세요.

Shell / Script
systemctl --version | grep -oP 'systemd \K[0-9]+' | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel