🇰🇷 한글 설명
Linux 커널의 TIPCv2 netlink mutator가 관리자 권한(CAP_NET_ADMIN) 확인 없이 동작하여 발생하는 취약점입니다. 이를 통해 권한이 없는 로컬 사용자가 TIPC 네트워크 상태를 변경하거나 키를 조작할 수 있습니다.
💡 쉬운 설명
컴퓨터의 네트워크 설정 중 하나인 TIPC를 일반 사용자가 허락 없이 마음대로 바꿀 수 있는 보안 구멍이 발견되었습니다. 공격자가 네트워크 식별 정보를 바꾸거나 보안 키를 삭제하는 등의 행위를 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tipc: require net admin for TIPCv2 netlink mutators
TIPCv2 registers mutating generic-netlink operations without admin
permission flags. Generic netlink only checks CAP_NET_ADMIN when an
operation sets GENL_ADMIN_PERM or GENL_UNS_ADMIN_PERM, so a local
unprivileged process can currently change TIPC state through commands
such as TIPC_NL_NET_SET, TIPC_NL_KEY_SET, TIPC_NL_KEY_FLUSH, and
bearer enable/disable.
The legacy TIPC netlink API already checks netlink_net_capable(...,
CAP_NET_ADMIN) for administrative commands. Give the TIPCv2 mutators
the equivalent generic-netlink gate. Use GENL_UNS_ADMIN_PERM, which
maps to the same namespace-aware CAP_NET_ADMIN check that
netlink_net_capable() performs, so the behaviour matches the legacy
path and keeps working for CAP_NET_ADMIN holders in a non-initial user
namespace (containers).
A QEMU/KASAN repro run as uid/gid 65534 with zero effective
capabilities previously succeeded in changing the network id and node
identity, setting and flushing key material, and enabling/disabling a
UDP bearer. With this patch applied the same operations fail with
-EPERM.
📍 영향받는 시스템
Linux kernel (TIPCv2 관련 모듈이 활성화된 시스템)
⚔️ 공격 벡터
권한이 없는 로컬 사용자가 TIPC netlink API를 통해 네트워크 설정 변경 명령을 전송
🛡️ 대응 방법
TIPCv2 mutator에 GENL_UNS_ADMIN_PERM 플래그를 적용하여 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인