ZeroSecurity - Information Security News
  • Home
  • Security
    • Exploits
    • Mobile Security
  • Malware
  • Breaches
  • Crypto
  • Privacy
  • Tech
    • AI
    • Downloads
      • Malwarebytes
      • Exploits
      • Paper Downloads
    • Reviews
No Result
View All Result
SUBSCRIBE
ZeroSecurity - Information Security News
  • Home
  • Security
    • Exploits
    • Mobile Security
  • Malware
  • Breaches
  • Crypto
  • Privacy
  • Tech
    • AI
    • Downloads
      • Malwarebytes
      • Exploits
      • Paper Downloads
    • Reviews
No Result
View All Result
ZeroSecurity - Information Security News
No Result
View All Result
Home Exploits

Critical OpenSSH Vulnerability (CVE-2024-6387): regreSSHion Bug Threatens Linux Systems

New Flaw in OpenSSH Server Could Lead to Remote Code Execution

Paul by Paul
July 1, 2024
in Exploits
Reading Time: 2 mins read
Photo of the OpenSSH logo puffer fish
Share on FacebookShare on Twitter

A significant security vulnerability, dubbed “regreSSHion” (CVE-2024-6387), has been discovered in the OpenSSH server (sshd) affecting Glibc-based Linux systems. Infosec researchers at Qualys have revealed that this flaw could potentially allow unauthenticated attackers to achieve remote code execution (RCE) on hundreds of thousands of targets.

Vulnerability Details and Impact

The regreSSHion bug is a race condition in sshd that could grant intruders root-level access to affected systems. Of the 14 million potentially vulnerable sshd instances identified through Censys and Shodan scans, Qualys estimates that approximately 700,000 internet-facing instances could be susceptible to exploitation.

This vulnerability is particularly concerning as it represents a regression of a previously patched flaw (CVE-2006-5051) from 2006. The reintroduction of this issue occurred in October 2020 with the release of OpenSSH 8.5p1, highlighting the critical importance of thorough regression testing in software development.

Exploitation and Potential Consequences

The exploit takes advantage of a weakness in sshd’s handling of the LoginGraceTime parameter. If a client fails to authenticate within this timeframe (default 120 seconds), the server’s SIGALRM handler is called asynchronously. This handler can then invoke functions that are not async-signal-safe, such as syslog(), creating an opportunity for attackers to execute arbitrary code.
Successful exploitation could allow attackers to:

  • Gain root-level access
  • Perform full system takeovers
  • Deploy malware
  • Implant backdoors
  • Evade existing security measures

While the potential impact is severe, exploiting the vulnerability requires patience. Lab tests conducted by the OpenSSH team and Qualys indicate that beating the race condition can take between three to eight hours and up to 10,000 attempts.

Affected Systems and Exceptions

Systems running glibc are likely vulnerable, with 32-bit architectures confirmed to be at risk and 64-bit systems probably affected as well. However, OpenBSD systems are not vulnerable due to a security enhancement implemented in 2001, which uses the safer syslog_r() function instead of syslog().

Vulnerable Versions and Patching

The following OpenSSH versions are affected:

  • All versions earlier than 4.4p1 (unless patched for CVE-2006-5051 and CVE-2008-4109)
  • Versions from 8.5p1 up to, but not including, 9.8p1

Versions 4.4p1 up to 8.5p1 are not affected due to the previous patching of CVE-2006-5051.

Mitigation and Recommendations

To address the regreSSHion vulnerability, organizations should:

You might also like

Hackers Exploit Maximum-Severity Cisco Zero-Day Bug Since 2023 (CVE-2026-20127)

DoubleClickjacking – The Stealthy New Web Exploit Threatening User Security

Critical Vulnerabilities Exposed in Ruijie Networks Cloud Platform

  1. Update to OpenSSH 9.8p1 or apply the latest security patches
  2. Implement network-based controls to limit SSH access
  3. Segment networks and deploy monitoring systems to alert administrators of potential exploit attempts

Several Linux distributions have already released updates, including Ubuntu and NixOS. Users are strongly advised to check their distribution’s repositories for available patches and apply them promptly.

Qualys full write-up can be found here.

Previous Post

TeamViewer Hacked: Russian State-Sponsored Group APT29 Behind Cyberattack

Next Post

Cisco Switch Zero-Day (CVE-2024-20399) Seen Exploited in the Wild by Chinese Threat Actor

Paul

Paul

Editor and chief at ZeroSecurity. Expertise includes programming, malware analysis, and penetration testing. If you would like to write for ZeroSecurity, please click "Contact us" at the bottom of the page.

Recommended For You

Photo of the CISCO logo and text saying "You have been hacked!"

Hackers Exploit Maximum-Severity Cisco Zero-Day Bug Since 2023 (CVE-2026-20127)

March 6, 2026
What is DoubleClickJacking?

DoubleClickjacking – The Stealthy New Web Exploit Threatening User Security

January 1, 2025

Critical Vulnerabilities Exposed in Ruijie Networks Cloud Platform

December 25, 2024

Vulnerability (CVE-2024-54143 ) Discovered in OpenWrt’s Firmware Upgrade System

December 13, 2024

Cybercriminals Unleash Advanced Phishing-as-a-Service Toolkit Targeting Microsoft 365 Users

November 29, 2024

Major Security Vulnerability Uncovered in qBittorrent Client

November 1, 2024

Related News

Malicious Chrome Extensions Steal AI Data and Hijack Revenue in DarkSpectre Campaign

Malicious Chrome Extensions Steal AI Data and Hijack Revenue in DarkSpectre Campaign

January 30, 2026
KPMG Netherlands Listed as Victim by Nova Ransomware Group

KPMG Netherlands Listed as Victim by Nova Ransomware Group

January 24, 2026
RansomHouse Claims Breach of Key Apple Assembler Luxshare

RansomHouse Claims Breach of Key Apple Assembler Luxshare

January 20, 2026
ZeroSecurity - Information Security News

We cover the latest in technology news, Crypto, Artificial Intelligence, and the threat trends impacting these sectors.

Categories

Piracy

Tutorials

Programming

Malware Analysis

Downloads

  • Contact us
  • Press
  • Writers
  • Privacy Policy
  • Terms of Service

© 2026 ZeroSecurity, All Rights Reserved.

No Result
View All Result
  • Home
  • Security
    • Tools
  • Exploits
  • Data Breaches
  • Malware
  • Privacy
  • Mobile Security
  • Contact Us
    • Press
  • Privacy Policy

© 2026 ZeroSecurity, All Rights Reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.