🔍 CVE-2026-27456

4.7
CVSS Score
MEDIUM
2026-04-03
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

util-linux 2.41.4 미만 버전의 SUID 바이너리인 /usr/bin/mount에서 TOCTOU(Time-of-Check-Time-of-Use) 취약점이 발견되었습니다. 공격자는 파일 검증과 실제 사용 사이의 시간 차를 이용해 소스 파일을 심볼릭 링크로 교체함으로써, 루트 권한으로 임의의 파일이나 장치를 마운트할 수 있습니다.

💡 쉬운 설명

컴퓨터가 파일을 확인한 직후에 파일이 바뀌는 틈을 타서, 원래 파일 대신 중요한 시스템 파일을 가짜로 연결해 권한을 훔치는 공격입니다. 이를 통해 일반 사용자가 관리자만 볼 수 있는 중요한 파일에 접근할 수 있게 됩니다.

🇺🇸 원문 (English)

util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, when setting up loop devices, validates the source file path with user privileges via fork() + setuid() + realpath(), but subsequently re-canonicalizes and opens it with root privileges (euid=0) without verifying that the path has not been replaced between both operations. Neither O_NOFOLLOW, nor inode comparison, nor post-open fstat() are employed. This allows a local unprivileged user to replace the source file with a symlink pointing to any root-owned file or device during the race window, causing the SUID binary to open and mount it as root. Exploitation requires an /etc/fstab entry with user,loop options whose path points to a directory where the attacker has write permission, and that /usr/bin/mount has the SUID bit set (the default configuration on virtually all Linux distributions). The impact is unauthorized read access to root-protected files and block devices, including backup images, disk volumes, and any file containing a valid filesystem. This issue has been patched in version 2.41.4.

📍 영향받는 시스템

util-linux 2.41.4 미만 버전이 설치된 Linux 시스템

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 race window 동안 소스 파일을 심볼릭 링크로 교체하여 SUID 권한 탈취

🛡️ 대응 방법

util-linux 패키지를 2.41.4 이상 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 2.41.4보다 낮은지 확인하십시오.

Shell / Script
rpm -q util-linux || dpkg -l util-linux | grep util-linux

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access