🇰🇷 한글 설명
pam_usb 0.9.2 미만 버전에서 XML 설정 파일을 로드할 때 외부 엔티티 참조(XXE)를 허용하는 취약점이 발견되었습니다. 공격자가 조작된 XML 엔티티를 포함한 설정 파일을 사용할 수 있다면, 인증 프로세스 컨텍스트에서 로컬 파일을 읽거나 외부 네트워크 연결을 시도할 수 있습니다. 이 문제는 setuid 권한으로 실행되는 pam_usb.so의 특성상 방어 계층 측면에서 심각한 영향을 미칠 수 있습니다.
💡 쉬운 설명
USB를 이용한 로그인 인증 프로그램이 설정 파일을 읽을 때 보안이 취약한 방식으로 처리하는 문제입니다. 이를 통해 해커가 시스템의 중요한 파일을 몰래 읽거나 외부로 정보를 보낼 위험이 있습니다.
🇺🇸 원문 (English)
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, pam_usb calls xmlReadFile() with flags=0 when loading the configuration file, allowing libxml2 to process external entity references (XXE), potentially making outbound network connections or local file reads at XML parse time from the context of the authenticating process. The vulnerability requires the configuration file to contain crafted XML entity references. Since pam_usb.conf is root-owned, direct exploitation requires prior write access to the config, but the defence-in-depth impact is significant given that pam_usb.so runs in setuid contexts (sudo, su). This issue has been fixed in version 0.9.2.
📍 영향받는 시스템
pam_usb versions prior to 0.9.2
⚔️ 공격 벡터
조작된 XML 엔티티 참조가 포함된 pam_usb.conf 파일을 통한 XXE 공격
🛡️ 대응 방법
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:H/UI:N/S:C/C:H/I:L/A:L
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux