🇰🇷 한글 설명
Linux 커널의 sit 네트워크 드라이버에서 발생한 취약점으로, changelink 작업 시 터널 링크가 속한 네트워크 네임스페이스에 대한 권한 검사가 누락되었습니다. 이로 인해 특정 네트워크 네임스페이스에서 권한이 있는 사용자가 다른 네임스페이스에 있는 터널 설정을 임의로 변경할 수 있습니다.
💡 쉬운 설명
네트워크 설정 권한이 제한된 사용자가 시스템의 보안 경계를 넘어 다른 네트워크 통로의 설정을 마음대로 바꿀 수 있는 문제입니다. 이는 네트워크 경로를 가로채거나 조작하는 데 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: sit: require CAP_NET_ADMIN in the device netns for changelink
ipip6_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 ipip6_changelink() on rtnl_dev_link_net_capable() at its top,
before any attribute is parsed. sit was the one tunnel type not covered
by the recent series that added this check to the other changelink()
handlers.
📍 영향받는 시스템
Linux Kernel (sit/ipip6 관련 모듈이 포함된 버전)
⚔️ 공격 벡터
권한이 있는 네트워크 네임스페이스에서 다른 네임스페이스에 속한 ipip6 터널의 changelink 요청을 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ipip6_changelink()에 권한 검사 로직을 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인