Prefix truncation attack on SSH that silently drops early messages and downgrades connection security.
At a glance: Terrapin is a vulnerability in the area of TLS & crypto, disclosed on 18 December 2023 and tracked as CVE-2023-48795. It was discovered by Fabian Bäumer (Ruhr-Universität Bochum), Marcus Brinkmann (Ruhr-Universität Bochum) and Jörg Schwenk (Ruhr-Universität Bochum). The logo was designed by tnhs_project. The logo is in the public domain (CC0 1.0) and may be used without restriction.
Background
Terrapin is a prefix truncation attack on SSH: a network attacker shifts sequence numbers during the handshake and thereby silently removes messages at the start of the secure channel. This weakens extension negotiation and thus client authentication. According to the scan, at least 77 percent of SSH servers support an exploitable mode; “strict key exchange” on both sides mitigates it.
Discovered by
Fabian Bäumer (Ruhr-Universität Bochum), Marcus Brinkmann (Ruhr-Universität Bochum) and Jörg Schwenk (Ruhr-Universität Bochum)
Affected
SSH implementations offering ChaCha20-Poly1305 or CBC with encrypt-then-MAC, including OpenSSH, AsyncSSH and Apache MINA SSHD
Prefix truncation attack on SSH that silently drops early messages and downgrades connection security. Terrapin is a prefix truncation attack on SSH: a network attacker shifts sequence numbers during the handshake and thereby silently removes messages at the start of the secure channel. This weakens extension negotiation and thus client authentication. According to the scan, at least 77 percent of SSH servers support an exploitable mode; “strict key exchange” on both sides mitigates it. Terrapin was disclosed on 18 December 2023.
Who discovered Terrapin?
Terrapin was discovered by Fabian Bäumer (Ruhr-Universität Bochum), Marcus Brinkmann (Ruhr-Universität Bochum) and Jörg Schwenk (Ruhr-Universität Bochum).
What is affected by Terrapin?
Affected: SSH implementations offering ChaCha20-Poly1305 or CBC with encrypt-then-MAC, including OpenSSH, AsyncSSH and Apache MINA SSHD.
How severe is Terrapin?
NVD rates CVE-2023-48795 with a CVSS 3.1 base score of 5.9 out of 10 (medium).
Who designed the Terrapin logo?
The logo was designed by tnhs_project.
May I use the Terrapin logo?
The logo is in the public domain (CC0 1.0) and may be used without restriction. No guarantee; the source commons.wikimedia.org is authoritative.