🇰🇷 한글 설명
Linux 커널의 ksmbd 모듈에서 FSCTL_DUPLICATE_EXTENTS_TO_FILE 요청 시 소스 파일에 대한 읽기 권한을 확인하지 않는 취약점이 발견되었습니다. 이로 인해 속성 접근 권한만 가진 핸들로도 파일 내용을 공격자가 읽을 수 있는 위치로 복사할 수 있습니다.
💡 쉬운 설명
파일의 내용을 읽을 권한이 없는 사용자가 특수한 명령을 이용해 파일 내용을 몰래 복사해갈 수 있는 보안 결함입니다. 권한 검사 과정이 누락되어 발생한 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: require source read access for duplicate extents
FSCTL_DUPLICATE_EXTENTS_TO_FILE passes the source file directly to
vfs_clone_file_range() or vfs_copy_file_range() without checking the SMB
access mask granted to the source handle. A handle opened with attribute
access can consequently be used to copy file contents into an
attacker-readable destination.
Require FILE_READ_DATA on the source handle before either VFS operation,
matching other ksmbd data-copy paths.
📍 영향받는 시스템
ksmbd 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
SMB 프로토콜을 통해 권한이 제한된 핸들로 FSCTL_DUPLICATE_EXTENTS_TO_FILE 요청을 전송
🛡️ 대응 방법
ksmbd 소스 핸들에 대해 FILE_READ_DATA 권한을 요구하도록 커널을 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 보안 패치가 적용된 최신 버전인지 확인합니다.