CyberWatch

Terrapin Exploit Found in OpenSSH and Extensions

By

By

Access Point Consulting

Summary

SSH transport protocol with specific OpenSSH extensions (AsyncSSH) that are version 9.6 or less are susceptible to CVE-2023-48795 (CVSS 3.1: 5.9) Terrapin attacks. After performing a MiTM attack, remote attackers are able to then intercept and spy on communications and spoof the identity of both the recipient and the sender.  

Secure Shell Protocol (SSH) is the new standard for remote login and file transfers within organizations. Currently there is an attack which requires a man-in-the-middle attack in order for the Terrapin attack to be attempted.  

Impact Assessment

This vulnerability is only possible if there is an available active adversary-in-the-middle position for the connection. For SSH, this seemed difficult to take advantage of, but it is possible with the Terrapin attack. For this attack to be possible, the SSH server’s must be secured by “ChaCha20-Poly1305” or “CBC with Encrypt-then-Mac” methods. After it successfully alters or corrupts at the beginning of the 3-way-handshake that is used before establishing a secure connection. After it goes for the Binary Packet Protocol, it uses a prefix truncation to attack.

Affected software

OpenSSH before 9.6

See this NVD article for all other associated software which use OpenSSH extensions.

What it means for you

If you use AsyncSSH, you should prioritize updating it as quickly as possible. It should still be updated if you are not using those two methods as it does not hurt to be on the latest version.  

Review the software and figure out which of the software in the list are common and follow procedure  

Remediation

To find vulnerable installations of OpenSSH instances, follow the link provided. This will supply a full list of vulnerable instances to this vulnerability.

Link to Terrapin website providing list of affected applications and patches.

Business Implications

This vulnerability can lead to the attacker being able to control the remote end by injecting or removing packets. This can blead to exfiltrating data, control machines, lateral movements if possible, installing malware where it leads to data loss and monetary loss.

Access Point Technology Recommends

Patch: Review the followings patches that are affected by the Terrapin attack. This requires both the sender and recipient to have the latest version or else it falls back to the vulnerable version.

Harden network: The use of X.509 certificates or shared secret values from the server to deny the act of a man-in-the-middle attack.

Harden endpoints: Implement Last Privilege Access policies in the organization to limit the damage that can happen by attacking that compromise the account.

Associated Bulletins

https://nvd.nist.gov/vuln/detail/CVE-2023-48795

https://terrapin-attack.com/

Resources

Trending Articles & Security Reports

Resources

CyberWatch

October 25, 2024

Ransomware, Supply Chain Attacks, and Nation-State Threats

CyberWatch, by Access Point Consulting, is your weekly source for emerging cybersecurity news, regulatory updates, and threat intelligence. Backed by experts in security consulting, regulatory compliance, and security operations, Access Point enables you to manage cyber risks, respond to incidents, and drive innovation in your company. Read here or on our website; listen on Spotify or Apple Podcasts; or watch on YouTube.website; listen on Spotify or Apple Podcasts; or watch on YouTube. .

Find out more
October 7, 2024

VINs and Losses: How Hackers Take Kias for a Ride

In the age of smart cars and connected devices, convenience often comes with hidden risks. A recently discovered critical vulnerability in Kia vehicles serves as a stark reminder of how our increasingly digital world is making cars new targets for cyberattacks. This vulnerability allowed hackers to remotely control various vehicle functions—using nothing more than a car's license plate number. It highlights the growing threat of cyberattacks on connected cars and the importance of cybersecurity in the automotive industry.

Find out more
October 3, 2024

Vulnerability in SolarWinds Managed File Transfer Server Actively Exploited

CVE-2024-28995 SolarWinds has issued a critical update for a zero-day vulnerability in its Serv-U MFT Server, allowing attackers to bypass security and access restricted files without authentication. Actively exploited, this flaw poses a significant risk for businesses that delay applying the fix.

Find out more