⚡Megatron LLM Hub
←Back to search
Twitter

Linux TCP-MD5 认证可被绕过:32 位内核收到伪造 AO 选项即放行未认证数据

BGP 会话签名保护失效,补丁刚上 netdev,尚无 CVE 分配。
认证绕过内核网络协议cve
RT @sysxplore: France's cybersecurity agency just posted a fix for a hole in Linux TCP authentication, and every 32-bit kernel built with MD5 signing is exposed. TCP-MD5 (RFC 2385) is the old signature scheme that protects BGP sessions between routers. Its successor is TCP-AO. Jérémy Jean of ANSSI posted the v2 fix to netdev on Saturday. With TCP_MD5SIG=y and TCP_AO=n, a packet carrying a junk AO option hits a stub that returns success, so a socket requiring MD5 accepts unauthenticated data. The reverse config has the same bug. Eric Dumazet's review was blunt: an attacker able to hit the window of an MD5-protected session "can therefore inject RST or data with a junk AO option, which is exactly what RFC 2385 is supposed to prevent." TCP-AO depends on 64BIT, so "every 32-bit kernel with TCP_MD5SIG=y is in the vulnerable configuration." The fix is tagged for stable, reviewed by Dumazet and Kuniyuki Iwashima.