← voltar
CVE-2020-11091

Weave Net clusters susceptible to MitM attacks via IPv6 rogue router advertisements

CVSS 5.8 MEDIUMEPSS 0.9%CWE-350
Em resumo

O Weave Net anterior à versão 2.6.3 permite que um atacante dentro de um container envie anúncios falsos de roteador IPv6 para redirecionar o tráfego da máquina hospedeira para seu container. Isso pode permitir interceptar comunicações e possibilitar ataques mais graves no sistema.

Detalhe técnico

Um atacante com acesso root em um container pode explorar configurações padrão de IPv6 (accept_ra=1, ipv6.forwarding=0) enviando anúncios de roteador maliciosos para reconfigurar a pilha IPv6 do host e interceptar tráfego. O ataque aproveita registros AAAA de DNS para forçar tentativas de conexão IPv6 e pode ser combinado com vulnerabilidades do host para escalação ou RCE.

Resumo gerado e traduzido por IA a partir da descrição oficial.
In Weave Net before version 2.6.3, an attacker able to run a process as root in a container is able to respond to DNS requests from the host and thereby insert themselves as a fake service. In a cluster with an IPv4 internal network, if IPv6 is not totally disabled on the host (via ipv6.disable=1 on the kernel cmdline), it will be either unconfigured or configured on some interfaces, but it's pretty likely that ipv6 forwarding is disabled, ie /proc/sys/net/ipv6/conf//forwarding == 0. Also by default, /proc/sys/net/ipv6/conf//accept_ra == 1. The combination of these 2 sysctls means that the host accepts router advertisements and configure the IPv6 stack using them. By sending rogue router advertisements, an attacker can reconfigure the host to redirect part or all of the IPv6 traffic of the host to the attacker controlled container. Even if there was no IPv6 traffic before, if the DNS returns A (IPv4) and AAAA (IPv6) records, many HTTP libraries will try to connect via IPv6 first then fallback to IPv4, giving an opportunity to the attacker to respond. If by chance you also have on the host a vulnerability like last year's RCE in apt (CVE-2019-3462), you can now escalate to the host. Weave Net version 2.6.3 disables the accept_ra option on the veth devices that it creates.
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N
Produtos afetados
weaveworks · Weave

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →