
CVE-2024-6387, also known as RegreSSHion, is a high-severity vulnerability found in OpenSSH servers (sshd) running on glibc-based Linux systems. It is a regression of a previously fixed vulnerability (CVE-2006-5051), which means the issue was reintroduced in newer versions of OpenSSH.
CVE-2024-6387, nicknamed "regreSSHion," is a critical vulnerability in OpenSSH that allows unauthenticated remote attackers to execute code with root privileges on vulnerable Linux systems. This vulnerability arises from a race condition in the signal handling of OpenSSH's server component (sshd) on glibc-based systems.
High (CVSS Score: 8.1)
Successful exploitation of this vulnerability can lead to:
OpenSSH versions 8.5p1 through 9.8p1 are vulnerable to CVE-2024-6387.
Update OpenSSH: The most effective solution is to update OpenSSH to the latest version that includes the fix for this vulnerability.
Disable Password Authentication: If updating is not immediately possible, consider disabling password authentication and using SSH keys exclusively.
There are no known workarounds for this vulnerability other than updating or disabling password authentication.
This information is provided as-is and may be updated as new information becomes available. It is recommended to consult official sources and security advisories for the latest information regarding CVE-2024-6387.
Prerequisites:
argparse and ipaddress modules (usually included with Python)Save and Run:
cve_2024_6387_check.py.python3 Checker.py [options] <addresses>
-f, --file: Path to a file containing a list of IP addresses or CIDR ranges.
-p, --ports: Comma-separated list of SSH port numbers (default is 22).
-t, --timeout: Connection timeout in seconds (default is 5.0).