🇰🇷 한글 설명
pam_usb 0.9.2 미만 버전에서 일회용 패드(OTP) 파일을 업데이트할 때 O_EXCL 플래그 없이 파일을 생성하여 원자적 작업이 보장되지 않는 취약점이 존재합니다. 이로 인해 두 프로세스가 동시에 파일을 업데이트하려 할 때 경합 조건(Race Condition)이 발생하여 패드 값이 손상되거나 재사용 가능한 상태가 될 수 있습니다.
💡 쉬운 설명
보안 인증에 사용되는 비밀번호 파일이 동시에 수정될 때 데이터가 꼬이는 문제가 있습니다. 이로 인해 인증이 실패하거나 보안이 약해질 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, when updating a one-time pad file, a temporary file is created using open() without the O_EXCL flag. Without O_EXCL, the create operation is not atomic: two concurrent processes racing to update the same pad may both succeed in opening the file, with the second write silently overwriting the first. The one-time pad is the core replay-prevention mechanism of pam_usb. A successful race could result in the stored pad value diverging from what either process expected, potentially causing authentication failures or, in a precisely timed attack, creating a window for pad reuse. This issue has been fixed in version 0.9.2.
📍 영향받는 시스템
pam_usb versions prior to 0.9.2
⚔️ 공격 벡터
동시 실행되는 프로세스 간의 파일 생성 경합을 이용한 Race Condition 공격
🛡️ 대응 방법
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:L/I:H/A:L
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux