Descrizione
fastd is a VPN daemon which tunnels IP packets and Ethernet frames over UDP. When receiving a data packet from an unknown IP address/port combination, fastd will assume that one of its connected peers has moved to a new address and initiate a reconnect by sending a handshake packet. This "fast reconnect" avoids having to wait for a session timeout (up to ~90s) until a new connection is established. Even a 1-byte UDP packet just containing the fastd packet type header can trigger a much larger handshake packet (~150 bytes of UDP payload). Including IPv4 and UDP headers, the resulting amplification factor is roughly 12-13. By sending data packets with a spoofed source address to fastd instances reachable on the internet, this amplification of UDP traffic might be used to facilitate a Distributed Denial of Service attack. This vulnerability is fixed in v23.
Tipo di vulnerabilità
CWE-405
Asymmetric Resource Consumption (Amplification)
The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is asymmetric.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: amplificazione, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione
An application must make resources available to a client commensurate with the client's access level.
Architettura e progettazione
An application must, at all times, keep track of allocated resources and meter their usage appropriately.
Configurazione del sistema
Consider disabling resource-intensive algorithms on the server side, such as Diffie-Hellman key exchange.
Tutte le 74 CVE di tipo CWE-405, con andamento e prevenzione