🔍 CVE-2026-96512

7.8
CVSS Score
HIGH
2026-09-23
2026-10-29 20:17
✅ 완료

🇰🇷 한글 설명

sudo의 sudoers 규칙에서 시간 기반 제한(NOTBEFORE, NOTAFTER)을 사용할 때 타임존 표시('Z')가 누락되면 TZ 환경 변수를 참조하는 결함이 발견되었습니다. unprivileged 사용자가 TZ 변수를 극단적인 값으로 설정하여 권한 부여 시간 범위를 최대 약 25시간까지 조작할 수 있습니다. 이로 인해 만료된 규칙이 유효한 것으로 처리되어 의도된 시간 외에 명령을 실행할 수 있습니다.

💡 쉬운 설명

사용자가 컴퓨터의 시간대 설정을 속여서, 원래는 권한이 없는 시간에 sudo 명령어를 사용할 수 있게 만드는 보안 약점입니다. 인증 자체를 뚫는 것은 아니지만, 정해진 시간 제한을 무력화할 수 있습니다.

🇺🇸 원문 (English)

A flaw was found in sudo. When sudoers rules use NOTBEFORE or NOTAFTER time-based access restrictions with timestamps that omit the trailing 'Z' timezone indicator, the time evaluation relies on the TZ environment variable inherited from the calling user. Because sudo is a setuid-root program, an unprivileged local user can set TZ to an extreme timezone offset to shift the authorization window by up to approximately 25 hours, causing expired rules to be treated as valid. This allows the user to execute commands outside the intended time window. Authentication is not bypassed; only the time-based authorization check is affected.

📍 영향받는 시스템

sudo (time-based access restrictions using NOTBEFORE/NOTAFTER without 'Z' indicator)

⚔️ 공격 벡터

로컬 사용자가 TZ 환경 변수를 조작하여 시간 기반 권한 검사를 우회함

🛡️ 대응 방법

sudo를 최신 버전으로 업데이트하거나 sudoers 규칙의 타임스탬프에 'Z'를 명시함

🔧 검증 코드

출력된 sudo 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
sudo --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Sudo