New OpenSSH Vulnerability Could Lead to RCE as Root on Linux Systems

New OpenSSH Vulnerability Could Lead to RCE as Root on Linux Systems

July 1, 2024 at 08:06AM

OpenSSH has issued security updates for a critical flaw enabling unauthenticated remote code execution with root privileges in glibc-based Linux systems. Dubbed CVE-2024-6387, the race condition bug affects versions 8.5p1 to 9.7p1, potentially leading to full system compromise. Users are urged to apply the latest patches and enforce network-based controls for SSH access.

Based on the meeting notes, the key takeaways are:

1. OpenSSH maintainers have released security updates to address a critical vulnerability (CVE-2024-6387) in the OpenSSH server component (sshd) that could result in unauthenticated remote code execution with root privileges in glibc-based Linux systems.

2. The vulnerability affects versions between 8.5p1 and 9.7p1, and also impacts versions prior to 4.4p1 if they are not patched for CVE-2006-5051 and CVE-2008-4109.

3. The cybersecurity firm Qualys has identified approximately 14 million potentially vulnerable OpenSSH server instances exposed to the internet.

4. Exploiting CVE-2024-6387 could lead to full system compromise and takeover, enabling threat actors to execute arbitrary code with the highest privileges, subvert security mechanisms, steal data, and maintain persistent access.

5. OpenBSD systems are unaffected by this vulnerability due to the inclusion of a security mechanism that blocks the flaw.

6. Users are advised to apply the latest patches, limit SSH access through network-based controls, and enforce network segmentation to restrict unauthorized access and lateral movement.

These takeaways provide a clear understanding of the security vulnerability and the recommended actions to mitigate the risks associated with it.

Full Article