🇰🇷 한글 설명
Rust로 작성된 sudo의 메모리 안전 구현체인 sudo-rs 0.2.6 미만 버전에서 발생하는 취약점입니다. 권한이 없는 사용자가 `sudo --list <pathname>` 명령을 사용하여 접근 권한이 없는 폴더 내 파일의 존재 여부를 확인할 수 있습니다. 이를 통해 파일 이름을 통한 민감한 정보가 노출될 수 있습니다.
💡 쉬운 설명
권한이 없는 사용자가 특정 폴더 안에 어떤 파일이 있는지 몰래 알아낼 수 있는 보안 약점입니다. 파일 이름을 통해 시스템의 중요한 정보를 유추할 수 있어 위험할 수 있습니다.
🇺🇸 원문 (English)
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list <pathname>`. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.
📍 영향받는 시스템
sudo-rs version < 0.2.6
⚔️ 공격 벡터
로컬 접근 권한을 가진 사용자가 sudo --list 명령어를 사용하여 파일 존재 여부 확인
🛡️ 대응 방법
sudo-rs를 0.2.6 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.2.6보다 낮은지 확인하십시오.
cargo pkgid sudo-rs 2>/dev/null | grep -oE 'sudo-rs [0-9]+\.[0-9]+\.[0-9]+'