🇰🇷 한글 설명
리눅스 커널의 TCP 시퀀스 번호 생성 메커니즘의 보안 취약점으로, SYN 쿠키 사이드채널을 통해 오프패스 공격자가 TCP 소스 포트 정보를 누출시킬 수 있습니다. 타임스탐프 오프셋 무작위화에 포트 정보를 다시 포함시키고 siphash() 함수를 통해 ISN과 TS 오프셋을 함께 계산하여 해결됩니다.
💡 쉬운 설명
리눅스 커널의 TCP 연결 보안에서 일부 정보가 새어나가는 문제입니다. 이는 커널 업데이트로 해결됩니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tcp: secure_seq: add back ports to TS offset
This reverts 28ee1b746f49 ("secure_seq: downgrade to per-host timestamp offsets")
tcp_tw_recycle went away in 2017.
Zhouyan Deng reported off-path TCP source port leakage via
SYN cookie side-channel that can be fixed in multiple ways.
One of them is to bring back TCP ports in TS offset randomization.
As a bonus, we perform a single siphash() computation
to provide both an ISN and a TS offset.
📍 영향받는 시스템
Linux kernel versions before the fix (commit 28ee1b746f49 revert 이후 버전)
⚔️ 공격 벡터
오프패스 공격자가 SYN 쿠키 사이드채널을 통해 타이밍 분석으로 TCP 소스 포트 누출
🛡️ 대응 방법
영향받는 Linux 커널을 최신 버전으로 업데이트 (커널 6.x 이상 권장)
🔧 검증 코드
현재 커널 버전을 확인하고 업스트림 커널 소스에서 tcp secure_seq 패치 적용 여부를 확인합니다.
uname -r | grep -E '^[5-9]\.|^[0-9]{2,}\.' && echo 'Check upstream for tcp_seq fix' || echo 'Kernel version too old'