🇰🇷 한글 설명
Linux kernel netfilter x_tables 모듈의 옵션 파싱에서 경계 검사 누락으로 발생하는 정보 유출 취약점입니다. xt_tcpudp와 xt_dccp 옵션 워커가 i += op[i + 1] 연산 시 옵션 영역 끝을 넘어 메모리를 읽을 수 있으며, 로컬 공격자가 커널 메모리 정보를 수집하거나 서비스 거부를 유발할 수 있습니다.
💡 쉬운 설명
Linux 커널의 방화벽 기능에서 메모리 경계를 제대로 확인하지 않아 민감한 정보가 노출될 수 있습니다. 이미 시스템에 접근할 수 있는 사람이 커널 정보를 빼내거나 시스템을 중단시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: x_tables: guard option walkers against 1-byte tail reads
When the last byte of options is a non-single-byte option kind, walkers
that advance with i += op[i + 1] ? : 1 can read op[i + 1] past the end
of the option area.
Add an explicit i == optlen - 1 check before dereferencing op[i + 1]
in xt_tcpudp and xt_dccp option walkers.
📍 영향받는 시스템
Linux kernel 4.x~6.8 버전의 netfilter 모듈(nf_tables, xt_tcpudp, xt_dccp)이 활성화된 시스템
⚔️ 공격 벡터
로컬 권한 상승 - netfilter 규칙 조작 가능 권한을 가진 공격자가 특수 제작된 옵션으로 커널 메모리 읽기
🛡️ 대응 방법
Linux kernel 6.9 이상으로 업데이트하거나 netfilter 모듈 비활성화(CONFIG_NF_TABLES=n)
🔧 검증 코드
커널 버전이 4.x~6.8 범위면 취약할 수 있으므로 patch 확인 필요, 6.9+ 또는 배포본 security update 여부 확인
uname -r | grep -E '^4\.[0-9]+|^5\.[0-9]+|^6\.[0-8]' && echo 'potentially_vulnerable' || echo 'likely_patched'