🇰🇷 한글 설명
Linux 커널의 ieee802154 모듈에서 레거시 Netlink 작업 시 권한 검증이 누락되어 발생하는 취약점입니다. 로컬 사용자가 권한 없이도 802.15.4 네트워크 장치의 AES-128 암호화 키를 직접 읽어낼 수 있습니다.
💡 쉬운 설명
컴퓨터 내부의 보안 통신에 사용되는 비밀번호(암호 키)를 아무 권한이 없는 사용자도 몰래 훔쳐볼 수 있는 결함입니다. 이 키가 유출되면 통신 내용이 도청되거나 조작될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ieee802154: admin-gate legacy LLSEC dump operations
In net/ieee802154/netlink.c, the legacy IEEE802154_NL family ops table
builds the LLSEC dump entries (LLSEC_LIST_KEY, LLSEC_LIST_DEV,
LLSEC_LIST_DEVKEY, LLSEC_LIST_SECLEVEL) with IEEE802154_DUMP() which
sets no .flags, so generic netlink runs them ungated. The modern
nl802154 family admin-gates the equivalent reads via
NL802154_CMD_GET_SEC_KEY and friends with .flags = GENL_ADMIN_PERM.
Any local uid that can open AF_NETLINK / NETLINK_GENERIC can resolve
the "802.15.4 MAC" family and dump LLSEC_LIST_KEY on any wpan netdev
that has an LLSEC key installed; the dump handler writes the raw
16-byte AES-128 key bytes (IEEE802154_ATTR_LLSEC_KEY_BYTES, copied
verbatim from struct ieee802154_llsec_key.key) into the reply.
Recovering the AES key compromises 802.15.4 LLSEC link confidentiality
and authenticity, since LLSEC uses CCM* and the same key authenticates
and encrypts frames.
Impact: any local uid with no capabilities can read the raw 16-byte
AES-128 LLSEC key from the kernel keytable on any wpan netdev that has
an administrator-installed LLSEC key, by issuing an LLSEC_LIST_KEY
dump on the legacy IEEE802154_NL generic-netlink family.
Introduce IEEE802154_DUMP_PRIV() mirroring IEEE802154_DUMP() but
setting .flags = GENL_ADMIN_PERM, and use it for the four LLSEC dump
entries. LIST_PHY and LIST_IFACE retain IEEE802154_DUMP() because the
modern nl802154 family exposes their equivalents to unprivileged
readers by design (NL802154_CMD_GET_WPAN_PHY and
NL802154_CMD_GET_INTERFACE carry "can be retrieved by unprivileged
users" annotations).
📍 영향받는 시스템
IEEE 802.15.4 프로토콜을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 AF_NETLINK를 통해 레거시 IEEE802154_NL 덤프 요청을 전송
🛡️ 대응 방법
LLSEC 덤프 작업에 GENL_ADMIN_PERM 플래그를 적용하여 관리자 권한이 있는 경우에만 접근 가능하도록 커널 패치 적용
🔧 검증 코드
현재 사용 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 보안 패치 버전인지 확인하십시오.