🇰🇷 한글 설명
util-linux의 특정 버전에서 mount 명령 수행 시 /etc/fstab 대상 경로를 검증한 후 재해석하는 과정에서 발생하는 취약점입니다. 공격자가 renameat2를 사용하여 경로 구성 요소를 교체하면, 권한이 낮은 사용자가 루트 소유의 디렉토리에 공격자가 제어하는 콘텐츠를 마운트하여 루트 권한을 획득할 수 있습니다.
💡 쉬운 설명
컴퓨터의 파일을 연결하는 과정에서 경로를 속이는 기술을 사용하여, 일반 사용자가 관리자 권한을 몰래 뺏을 수 있는 보안 구멍입니다. 공격자가 파일 이름을 순간적으로 바꿔치기하여 시스템의 중요한 설정 파일을 자신의 파일로 덮어씌울 수 있습니다.
🇺🇸 원문 (English)
util-linux is a random collection of Linux utilities. In util-linux 2.17 through 2.41.6 and 2.42 through 2.42.3, and in 2.42.4 when the legacy `mount(2)` path is used without `/proc`, restricted non-root `mount` requests validate an `/etc/fstab` target before the mount operation re-resolves that pathname. A local low-privileged user authorized by an fstab `user` or `users` entry whose target has an attacker-writable ancestor can use `renameat2(RENAME_EXCHANGE)` to swap a path component and redirect an authorized mount to a root-owned location, such as mounting attacker-controlled content over `/etc/sudoers.d`, and thereby gain root privileges. Versions 2.41.5 and 2.42.2 pin targets for the new mount API, and 2.42.4 pins legacy targets through `/proc/self/fd`; the documented legacy fallback without `/proc` remains affected.
📍 영향받는 시스템
util-linux 2.17 ~ 2.41.6, 2.42 ~ 2.42.3, 및 /proc를 사용하지 않는 legacy mount(2)를 사용하는 2.42.4 버전
⚔️ 공격 벡터
로컬 저권한 사용자가 renameat2(RENAME_EXCHANGE)를 이용해 fstab 대상 경로의 상위 디렉토리를 교체하여 루트 디렉토리에 마운트 유도
🛡️ 대응 방법
util-linux를 최신 패치 버전(2.41.5, 2.42.2 이상 또는 /proc를 사용하는 2.42.4 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 취약한 범위(2.17~2.41.6 또는 2.42~2.42.3 등)에 해당하는지 확인하십시오.
dpkg -l util-linux 2>/dev/null | grep -E 'util-linux' || rpm -q util-linux 2>/dev/null
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux