🇰🇷 한글 설명
Linux 커널의 ip6_tunnel 모듈에서 발생한 취약점으로, changelink 작업 시 터널 링크가 속한 네트워크 네임스페이스에 대한 권한 검증이 누락되었습니다. 이로 인해 특정 네트워크 네임스페이스에서 권한을 가진 사용자가 다른 네임스페이스에 있는 터널 설정을 임의로 변경할 수 있습니다.
💡 쉬운 설명
네트워크 설정 권한이 제한된 사용자가 시스템의 보안 경계를 넘어 다른 네트워크 통로의 설정을 마음대로 바꿀 수 있는 문제입니다. 이는 네트워크 경로를 가로채거나 조작하는 데 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ip6_tunnel: require CAP_NET_ADMIN in the device netns for changelink
ip6_tnl_changelink() operates on at most two netns, dev_net(dev) and the
tunnel link netns t->net. They differ once the device is created in or
moved to a netns other than the one the request runs in. The rtnl
changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a
caller privileged there but not in t->net can rewrite a tunnel that
lives in t->net.
Gate ip6_tnl_changelink() on rtnl_dev_link_net_capable() at its top,
before any attribute is parsed.
📍 영향받는 시스템
CAP_NET_ADMIN 권한 검증 로직이 수정되기 전의 Linux Kernel 버전
⚔️ 공격 벡터
권한이 있는 네트워크 네임스페이스에서 다른 네임스페이스에 속한 IPv6 터널 링크에 대한 변경 요청 전송
🛡️ 대응 방법
ip6_tnl_changelink() 함수 상단에 rtnl_dev_link_net_capable() 체크를 추가하여 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.