🇰🇷 한글 설명
tty_tickets 옵션이 활성화되었을 때 sudo가 제어 터미널 장치를 제대로 검증하지 않아, sudo 권한을 가진 로컬 사용자가 다른 터미널의 인증을 탈취할 수 있는 취약점입니다. 표준 입출력 및 오류 파일 디스크립터를 통해 다른 터미널에 연결하여 인증 세션을 가로챌 수 있습니다.
💡 쉬운 설명
sudo가 터미널을 제대로 검증하지 않아 관리자 권한을 가진 사용자가 다른 사용자의 터미널 세션을 가로챌 수 있습니다. 이를 통해 그 사용자의 권한으로 명령어를 실행할 수 있게 됩니다.
🇺🇸 원문 (English)
sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to a session without a controlling terminal device and connecting to the standard input, output, and error file descriptors of another terminal. NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.
📍 영향받는 시스템
sudo < 1.7.10p5, sudo 1.8.x < 1.8.6p6 (tty_tickets 옵션 활성화 시)
⚔️ 공격 벡터
sudo 권한이 있는 로컬 사용자가 제어 터미널이 없는 세션에서 다른 터미널의 표준 입출력 파일 디스크립터를 조작하여 인증 탈취
🛡️ 대응 방법
sudo를 1.7.10p5 이상 또는 1.8.6p6 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 1.7.10p5 이상(1.8.x는 1.8.6p6 이상)이면 안전, 이전 버전이면 업데이트 필요