🇰🇷 한글 설명
pam_usb 0.9.2 미만 버전에서 디렉토리 생성 시 심볼릭 링크 레이스 컨디션 취약점이 존재합니다. 공격자가 lstat()과 mkdir() 호출 사이의 간극을 이용해 대상 경로를 심볼릭 링크로 교체하면, 일회용 패드(OTP) 파일이 공격자가 제어하는 위치에 작성되어 인증 정보가 노출되거나 인증 서비스가 방해받을 수 있습니다.
💡 쉬운 설명
인증용 USB를 사용할 때 시스템이 폴더를 만드는 찰나의 순간을 이용해 가짜 경로를 만드는 공격입니다. 이를 통해 보안에 필요한 비밀번호 파일이 해커에게 노출될 위험이 있습니다.
🇺🇸 원문 (English)
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, a symlink race condition exists in per-device and per-user pad directory creation. pam_usb uses a check-then-act pattern: it calls lstat() to test for existence and then calls mkdir() separately to create the directory. A local attacker can win the race between these calls by replacing the target path with a symlink to a directory they control. If successful, one-time pad files may be written to an attacker-controlled location, potentially exposing future pad values before use or disrupting authentication. This issue has been fixed in version 0.9.2.
📍 영향받는 시스템
pam_usb versions prior to 0.9.2
⚔️ 공격 벡터
로컬 공격자가 디렉토리 생성 과정의 레이스 컨디션을 이용한 심볼릭 링크 교체
🛡️ 대응 방법
pam_usb를 0.9.2 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 0.9.2 미만인지 확인하십시오.
dpkg -l pam-usb 2>/dev/null | grep -E 'pam-usb'
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux