🇰🇷 한글 설명
Linux 커널의 ipip 모듈에서 changelink 작업 시 네트워크 네임스페이스(netns)에 대한 권한 검증이 미흡한 취약점입니다. 특정 네임스페이스에서 권한이 있는 사용자가 다른 네임스페이스에 속한 터널 링크를 임의로 수정할 수 있습니다.
💡 쉬운 설명
컴퓨터 내부의 가상 네트워크 공간 사이의 권한 검사가 제대로 이루어지지 않는 문제입니다. 이를 통해 권한이 낮은 사용자가 다른 네트워크 설정에 접근하여 내용을 바꿀 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ipip: require CAP_NET_ADMIN in the device netns for changelink
ipip_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 ipip_changelink() on rtnl_dev_link_net_capable() at its top,
before any attribute is parsed.
📍 영향받는 시스템
Linux Kernel (ipip 모듈 사용 환경)
⚔️ 공격 벡터
권한이 있는 네트워크 네임스페이스에서 다른 네임스페이스의 ipip 터널 링크를 조작하는 방식
🛡️ 대응 방법
ipip_changelink() 함수 상단에 rtnl_dev_link_net_capable()를 통한 권한 검증 로직이 포함된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인