A proof-of-concept (PoC) exploit for the critical OpenSSH vulnerability CVE-2024-6387, also known as “regreSSHion,” has been released, raising alarms across the cybersecurity community.
The flaw, which affects millions of OpenSSH servers globally, allows unauthenticated, remote attackers to execute arbitrary code with root privileges under specific conditions.
CVE-2024-6387 arises from a signal handler race condition in OpenSSH’s server (sshd). This issue occurs when an unauthenticated client fails to log in within the `LoginGraceTime` limit (120 seconds by default).
The server’s SIGALRM handler, triggered in this scenario, calls non-async-signal-safe functions such as `syslog()`, creating a race condition that can be exploited to achieve remote code execution (RCE).
Investigate Real-World Malicious Links, Malware & Phishing Attacks With ANY.RUN – Try for Free
This vulnerability is particularly critical because it reintroduces a flaw first patched in 2006 (CVE-2006-5051), making it a regression issue. The vulnerability was uncovered by Qualys Threat Research Unit.
It impacts OpenSSH versions 8.5p1 through 9.8p1 on glibc-based Linux systems. OpenBSD systems remain unaffected due to their different signal-handling mechanisms.
While the vulnerability is severe, exploiting it is not straightforward. Security researchers have described it as a “statistical exploit,” requiring numerous attempts to win the race condition.
In controlled environments, successful exploitation takes between several hours and one week, depending on system configurations and mitigations like Address Space Layout Randomization (ASLR). Despite these challenges, the release of PoC code significantly lowers the barrier for attackers.
Reports indicate that exploit tools targeting CVE-2024-6387 are already circulating on underground forums, and at least one IP address has been observed attempting exploitation in the wild.
The vulnerability affects over 14 million internet-exposed OpenSSH servers globally, according to scans conducted using tools like Shodan and Censys.
Approximately 700,000 of these are confirmed vulnerable based on Qualys’ data. Exploitation could lead to full system compromise, allowing attackers to install malware, create backdoors, manipulate data, and propagate within networks.
Notably, exploitation has only been demonstrated on 32-bit Linux systems with glibc. While exploitation on 64-bit systems or non-glibc environments is theoretically possible, it has not been confirmed.
To address this critical vulnerability:
The release of the PoC code has sparked widespread concern among cybersecurity experts. While some researchers have struggled to achieve successful exploitation outside laboratory settings, others warn that attackers could refine these methods over time.
Organizations are urged to act swiftly to patch affected systems and implement additional security measures where immediate upgrades are not feasible.
The release of a PoC exploit for CVE-2024-6387 underscores the urgency of addressing this critical vulnerability in OpenSSH servers.
While mass exploitation remains unlikely due to technical barriers, the potential impact of successful attacks is severe. Organizations must prioritize patching and adopt layered security measures to mitigate risks associated with this flaw.
Find this News Interesting! Follow us on Google News, LinkedIn, and X to Get Instant Updates!
NSA, CISA, and NIST have released joint security guidelines to help organizations detect, contain, and…
Hackers are exploiting a command injection flaw in SiteGuard Server Edition, a web application firewall…
A newly registered domain copies Microsoft Teams’ login page and interface, raising concerns about a…
A 16-year-old flaw in Broadcom’s Wi-Fi software can let attackers within wireless range take control…
Google has announced a new set of Android security protections designed to stop mobile scams…
Hackers are exploiting flaws in Plex Media Server to install cryptocurrency mining malware, with a…