🇰🇷 한글 설명
리눅스 커널의 netfilter nf_nat_sip 구성 요소에서 NAT 처리 시 패킷 크기가 줄어들 경우 오프셋 계산 오류가 발생하는 취약점입니다. 이로 인해 패킷의 특정 헤더를 건너뛰게 되어 내부 네트워크 정보가 외부로 유출될 가능성이 있습니다.
💡 쉬운 설명
네트워크 주소를 변환하는 과정에서 데이터의 위치를 잘못 계산하여 중요한 정보가 누락되거나 잘못 전달될 수 있는 문제입니다. 이 과정에서 내부 네트워크의 상세 정보가 외부로 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_nat_sip: rewind offset when NAT shrinks the packet
sashiko says:
If map_addr() changes the packet length, such as when the public NAT IP
string is shorter or longer than the internal IP, coff will still point to
the offset relative to the pre-mangled packet.
If the packet shrinks, coff could overshoot the correct position,
potentially causing the next ct_sip_parse_header_uri() call to silently
skip bytes and miss subsequent Contact headers. Could this lead to a
failure to NAT those subsequent headers and leak internal network details?
📍 영향받는 시스템
Linux kernel (netfilter nf_nat_sip module 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 SIP 패킷을 전송하여 NAT 처리 과정의 오프셋 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인