🔍 CVE-2026-86805

6.3
CVSS Score
MEDIUM
2026-09-22
2026-09-23 04:17
✅ 완료

🇰🇷 한글 설명

glibc 2.14에서 2.44 버전 사이의 동적 로더(ld.so)에서 발생하는 TOCTOU 레이스 컨디션 취약점입니다. 공격자가 setuid/setgid 프로그램의 $ORIGIN 경로 확장 과정에서 심볼릭 링크를 이용해 신뢰할 수 없는 경로의 공유 객체를 로드하게 함으로써 권한을 상승시킬 수 있습니다.

💡 쉬운 설명

프로그램이 실행될 때 필요한 파일을 찾는 과정에서 발생하는 시간차를 이용한 공격입니다. 공격자가 중간에 가짜 파일을 끼워 넣어 프로그램이 관리자 권한으로 악성 코드를 실행하도록 유도할 수 있습니다.

🇺🇸 원문 (English)

A time-of-check to time-of-use (TOCTOU) race condition in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to escalate privileges. When expanding $ORIGIN in DT_RPATH for setuid/setgid (AT_SECURE) programs, glibc validates the lexically normalized search path against the trusted directories but then opens the raw, un-normalized path. On systems where the Linux fs.protected_hardlinks sysctl is disabled, a local attacker who hard-links such a program into an attacker-controlled directory and wins a race to replace an intermediate path component with a symbolic link can direct the loader outside the trusted directory, causing it to load an attacker-controlled shared object and execute arbitrary code with the elevated privileges of the program. Exploitation requires an installed setuid or setgid binary whose DT_RPATH uses $ORIGIN followed by ".." traversal that normalizes into a trusted directory, and the ability to hard-link that binary and win the race by swapping a path component for a symbolic link. Major Linux-based OS distributions ship with fs.protected_hardlinks enabled by default and mitigate the vulnerability.

📍 영향받는 시스템

glibc 2.14 ~ 2.44 버전이 설치된 Linux 시스템

⚔️ 공격 벡터

로컬 공격자가 setuid/setgid 바이너리를 하드링크하고, 경로 구성 요소를 심볼릭 링크로 교체하는 레이스 컨디션 공격

🛡️ 대응 방법

glibc를 최신 버전으로 업데이트하거나, 시스템 설정에서 fs.protected_hardlinks를 활성화합니다.

🔧 검증 코드

출력된 glibc 버전이 2.14에서 2.44 사이의 범위에 해당하면 취약할 가능성이 있습니다.

Shell / Script
ldd --version | grep -E 'ldd (GNU) 2\.[1-9][4-9]' || ldd --version | grep -E 'ldd (GNU) 2\.[3-9][0-9]'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux