🔍 CVE-2026-47269

7.4
CVSS Score
HIGH
2026-05-27
2026-10-26 12:10
✅ 완료

🇰🇷 한글 설명

pam_usb의 deny_remote 기능이 IPv4-mapped IPv6 주소의 첫 32비트만 검사하여 IPv6 wildcard SSH에서 IPv4 연결을 로컬로 오인합니다. 등록된 USB 장치를 가진 공격자가 원격 SSH를 통해 로컬 사용자처럼 인증 우회가 가능합니다.

💡 쉬운 설명

pam_usb는 USB 장치로 Linux 로그인을 보호하는데, 원격 연결 탐지 버그로 인해 SSH 원격 접속이 로컬 접속으로 인식됩니다. USB 장치를 소유한 공격자는 멀리서 USB 없이도 로그인할 수 있습니다.

🇺🇸 원문 (English)

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb's deny_remote feature checks utmpx ut_addr_v6 to detect whether an authentication request originates from a remote session. The outer guard was if (utent->ut_addr_v6[0] != 0), which only tests the first 32-bit word of the 128-bit address field. IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) store the IPv4 address in ut_addr_v6[3] with ut_addr_v6[0] == 0. On systems where the SSH daemon listens on :: (IPv6 wildcard) with AddressFamily any -- common on Ubuntu and Debian -- incoming IPv4 connections are recorded in utmpx as IPv4-mapped IPv6 addresses. The outer check evaluates to false, the remote-detection block is skipped entirely, and the session is treated as local. deny_remote=true does not block the authentication. An attacker with physical access to a registered USB device can authenticate over SSH on an affected system as if they were sitting at a local terminal, bypassing the deny_remote restriction. This vulnerability is fixed in 0.9.0.

📍 영향받는 시스템

pam_usb < 0.9.0 (Ubuntu, Debian 등에서 SSH daemon이 IPv6 wildcard(::) + AddressFamily any로 설정된 시스템)

⚔️ 공격 벡터

등록된 USB 인증 장치 물리 보유 + IPv4 SSH 원격 연결

🛡️ 대응 방법

pam_usb를 0.9.0 이상으로 업그레이드 또는 SSH daemon의 AddressFamily를 inet으로 변경

🔧 검증 코드

0.9.0 이상 버전이면 패치됨, 미만이면 취약함

Shell / Script
dpkg -l pam-usb 2>/dev/null | grep pam-usb | awk '{print $3}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux