Exploit database

Vulnerability

CVE-2024-6387

Openssh: regresshion - race condition in ssh allows rce/dos

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · redhat

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.

CVE Program

Exploit source choices

69 sources
beac0n/ruroco
GH-971d31d380ea73182fc03ff91dafd635GitHubUnofficial GitHub source

Ruroco is a tool that lets you execute commands on a server by sending UDP packets. The commands are configured on the server side, so the client does not define what is going to be executed, it only picks from existing commands.

2024-05-12172 files · 556 stars
xaitax/cve-2024-6387_check
GH-500504b771e9f784e05d89b1114552d8GitHubUnofficial GitHub source

CVE-2024-6387_Check is a lightweight, efficient tool designed to identify servers running vulnerable versions of OpenSSH

2024-07-014 files · 528 stars
zgzhang/cve-2024-6387-poc
GH-19f7f6ae7ca95fb5138a09eecebd0d66GitHubUnofficial GitHub source

a signal handler race condition in OpenSSH's server (sshd)

2024-07-013 files · 500 stars
acrono/cve-2024-6387-poc
GH-c02f10262d5d3f0d0d18703f49631aebGitHubUnofficial GitHub source

32-bit PoC for CVE-2024-6387 — mirror of the original 7etsuo/cve-2024-6387-poc

2024-07-013 files · 377 stars
karmakstylez/cve-2024-6387
GH-058b2e62b7632c6d8498b1399b1717deGitHubUnofficial GitHub source

Remote Unauthenticated Code Execution Vulnerability in OpenSSH server (CVE-2024-6387)

2024-07-086 files · 202 stars
lflare/cve-2024-6387-poc
GH-5069bdb7f6c44d489095953463c38474GitHubUnofficial GitHub source

MIRROR of the original 32-bit PoC for CVE-2024-6387 "regreSSHion" by 7etsuo/cve-2024-6387-poc

2024-07-013 files · 129 stars
l0n3m4n/cve-2024-6387
GH-476e3ac244af8729edc9d0d2361eeed1GitHubUnofficial GitHub source

PoC - Remote Unauthenticated Code Execution Vulnerability in OpenSSH server (Scanner and Exploit)

2024-07-026 files · 115 stars
filipi86/cve-2024-6387-vulnerability-checker
GH-2238741dc3e1343d453f0665fa774f70GitHubUnofficial GitHub source

This Python script checks for the CVE-2024-6387 vulnerability in OpenSSH servers. It supports multiple IP addresses, URLs, CIDR ranges, and ports. The script can also read addresses from a file.

2024-07-094 files · 103 stars
xonoxitron/regresshion
GH-07dc675ec287e140fa1c965743c6ea55GitHubUnofficial GitHub source

CVE-2024-6387 (regreSSHion) Exploit (PoC), a vulnerability in OpenSSH's server (sshd) on glibc-based Linux systems.

2024-07-025 files · 71 stars
d0rb/cve-2024-6387
GH-13b99f9c90fdeccfcf203bf0ce65095dGitHubUnofficial GitHub source

This Python script exploits a remote code execution vulnerability (CVE-2024-6387) in OpenSSH.

2024-07-023 files · 54 stars
bigb0x/cve-2024-6387
GH-12d81cf1ee17297fa481353cd902f20eGitHubUnofficial GitHub source

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2006-5051 , CVE-2008-4109 and others.

2024-07-013 files · 35 stars
getdrive/cve-2024-6387-poc
GH-a5ae79b9b07c1e29848d4f9ea0614bdcGitHubUnofficial GitHub source

PoC RCE in OpenSSH

2024-07-012 files · 25 stars
sxlmnwb/cve-2024-6387
GH-694fed0a1f71da3b425416786286266dGitHubUnofficial GitHub source

Targeting a signal handler race condition in OpenSSH's server (sshd) on glibc-based Linux systems.

2024-07-034 files · 21 stars
bigb0x/openssh-scanner
GH-ca307b7184e346cdc92d7e3e041432caGitHubUnofficial GitHub source

OpenSSH Vulnerabilities Scanner: Bulk Scanning Tool for 21 different OpenSSH CVEs.

2024-08-244 files · 19 stars
yassdev221608/cve-2024-6387_poc
GH-fa4e9698015d9bc0a0339b446dc418fbGitHubUnofficial GitHub source

yassdev221608/cve-2024-6387_poc source repository

2025-01-047 files · 17 stars
tam-k592/cve-2024-6387
GH-06ebbb8d990ce390caf7a1a6b99b7c4aGitHubUnofficial GitHub source

Recently, the OpenSSH maintainers released security updates to fix a critical vulnerability that could lead to unauthenticated remote code execution (RCE) with root privileges. This vulnerability, identified as CVE-2024-6387, resides in the OpenSSH server component (sshd), which is designed to listen for connections from client applications.

2024-07-023 files · 15 stars
cosmian/cosmian_vm
GH-31804bdb530fcde08c87d52c4967469bGitHubUnofficial GitHub source

Deploy an application on a cloud provider instance, running in a confidential context with verifiability at any time

2023-11-03212 files · 14 stars
devarshishimpi/cve-2024-6387-check
GH-15677d8101a8509fc39a092f9ea97c33GitHubUnofficial GitHub source

Fast, efficient, and reliable detection for the regreSSHion exploit. Scan multiple targets in seconds with zero dependencies.

2024-07-025 files · 14 stars
l-urk/cve-2024-6387
GH-2339bd55657df26532862be603212d2eGitHubUnofficial GitHub source

Proof of concept python script for regreSSHion exploit.

2024-07-307 files · 12 stars
0x4d31/cve-2024-6387_hassh
GH-40f549b78d296918dcbbc4e85ffc608aGitHubUnofficial GitHub source

HASSH fingerprints for identifying OpenSSH servers potentially vulnerable to CVE-2024-6387 (regreSSHion).

2024-07-059 files · 10 stars
p4x1s/cve-2024-6387
GH-e3238ee76a5ab57b704300e3db634500GitHubUnofficial GitHub source

SSH RCE PoC CVE-2024-6387

2024-07-023 files · 10 stars
xonoxitron/regresshion-checker
GH-bd7d9689c66b726c3f259c146fcf775bGitHubUnofficial GitHub source

Quickly identifies servers vulnerable to OpenSSH 'regreSSHion' (CVE-2024-6387).

2024-07-025 files · 10 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
cxyfreedom/v2ex-hot-hub
GH-cc692f324d90cd4b3250e2b84fcf40bdGitHubUnofficial GitHub source

记录v2ex热议话题,每小时更新,按天归档。

2023-10-151,404 files · 6 stars
wiggels/regresshion-check
GH-7ef7a0a27fb979567f59bcafedfb3422GitHubUnofficial GitHub source

CLI Tool to Check SSH Servers for Vulnerability to CVE-2024-6387

2024-07-016 files · 6 stars
ainfosec/tnok
GH-269d4c559e74802f96434609c8aaeb86GitHubUnofficial GitHub source

ainfosec/tnok source repository

2025-06-0453 files · 5 stars
david-m-berry/openssh-cve-discovery
GH-6d3a76d24ee0c47fe83b4b8e7f9b2c0bGitHubUnofficial GitHub source

Scanning for open SSH connections (regardless of port) reporting hostname, openssh versions and vulnerabilities

2024-07-024 files · 4 stars
harshinsecurity/sentinelssh
GH-d33e6166cd1f1fee343b4f61d316667dGitHubUnofficial GitHub source

SentinelSSH is an advanced, high-performance SSH vulnerability scanner written in Go. It's specifically designed to detect the CVE-2024-6387 vulnerability in OpenSSH servers across various network environments.

2024-07-0310 files · 4 stars
kinu404/cve-2024-6387
GH-ca5db9a5b8377ef946f34956d5fa1cd2GitHubUnofficial GitHub source

This is an altered PoC for d0rb/CVE-2024-6387. This takes glibc addresses and trys to exploit the CVE through them.

2025-01-202 files · 4 stars
lala-amber/cve-2024-6387
GH-cd8a77426e900774eb81461dd6582e15GitHubUnofficial GitHub source

lala-amber/cve-2024-6387 source repository

2024-07-042 files · 4 stars
mrr0b0t19/cve-2024-6387-exploit-poc
GH-739de490cd21daf2a8b3e576e407e92fGitHubUnofficial GitHub source

mrr0b0t19/cve-2024-6387-exploit-poc source repository

2024-07-022 files · 4 stars
th3gokul/cve-2024-6387
GH-fede53df12894f50f02f32d8baeab82aGitHubUnofficial GitHub source

CVE-2024-6387 : Vulnerability Detection tool for regreSSHion Remote Unauthenticated Code Execution in OpenSSH Server

2024-07-023 files · 4 stars
ap0dexme0/cve-2024-6387
GH-a863ba680fc91679045ed56df515e461GitHubUnofficial GitHub source

OpenSSH RCE Massive Vulnerable Scanner

2024-07-152 files · 3 stars
awusan125/test_for6387
GH-55693254226c6294b7a2644a7d3b5712GitHubUnofficial GitHub source

test code for cve-2024-6387

2024-12-193 files · 3 stars
cleverg0d/cves
GH-67d1e629104a731a916993b389f69cfcGitHubUnofficial GitHub source

All PoC

2025-09-25142 files · 3 stars
m0n3ef/regresshion-checker
GH-635cdfa099b2a956d6aee534f2a2859dGitHubUnofficial GitHub source

A lightweight, fast tool to scan and detect the "regreSSHion" OpenSSH remote code execution vulnerability (CVE-2024-6387).

2026-07-152 files · 3 stars
rickgeex/cve-2024-6387-checker
GH-4658428c59abb3c9f163a77ea098841eGitHubUnofficial GitHub source

CVE-2024-6387-Check is a streamlined and efficient tool created to detect servers operating on vulnerable versions of OpenSSH.

2024-07-023 files · 3 stars
symbolexe/cve-2024-6387
GH-d1dc9fc09608e059b15e268a25db962bGitHubUnofficial GitHub source

SSH Exploit for CVE-2024-6387 : RCE in OpenSSH's server, on glibc-based Linux systems

2024-07-034 files · 3 stars
achux21/checker-cve-2024-6387
GH-1e9a0da42afef4080c9d7fef7d91d5d8GitHubUnofficial GitHub source

Python scanner that checks hosts for the OpenSSH regreSSHion vulnerability (CVE-2024-6387)

2024-07-022 files · 2 stars
ahlfors/cve-2024-6387
GH-5398e72320137ae93b9f74e4336c47edGitHubUnofficial GitHub source

ahlfors/cve-2024-6387 source repository

2024-07-022 files · 2 stars
anhvutuan/cve-2024-6387-poc-1
GH-9cc3a0ef6c61d0328add35da9cc20f2bGitHubUnofficial GitHub source

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.

2024-10-224 files · 2 stars
grupooruss/cve-2024-6387
GH-966dec199da982711c1dff8217cadaa0GitHubUnofficial GitHub source

regreSSHion vulnerability in OpenSSH CVE-2024-6387 Testing Script

2024-07-023 files · 2 stars
identity-threat-labs/cve-2024-6387-vulnerability-checker
GH-ef059b6e30d0626ea02c0f0ed7e5dee6GitHubUnofficial GitHub source

This Python script checks for the CVE-2024-6387 vulnerability in OpenSSH servers. It supports multiple IP addresses, URLs, CIDR ranges, and ports. The script can also read addresses from a file.

2024-08-284 files · 2 stars
lasthopebro/noregressh
GH-53282bab442c279788c3d69a0d799905GitHubUnofficial GitHub source

CVE-2024-6387 and more Checker and Exploiter - Reverse/Bind-Shell Support. education only

2025-09-2610 files · 2 stars
muyuanlove/cve-2024-6387fixshell
GH-2420903bd8bc1c3d84a63ca553d074eaGitHubUnofficial GitHub source

muyuanlove/cve-2024-6387fixshell source repository

2024-07-022 files · 2 stars
oseasfr/scanner_cve_openssh
GH-24477eb3e489b55d7a41bb818fbfe27cGitHubUnofficial GitHub source

Scanner para identificação de servidores com softwares SSH possivelmente vulnerável às CVEs CVE-2024-6387 e CVE-2023-48795.

2026-05-212 files · 2 stars
prelearn-code/cve-2024-6387
GH-cfc30feb389b4c0e0bcc372da914b797GitHubUnofficial GitHub source

prelearn-code/cve-2024-6387 source repository

2024-07-256 files · 2 stars
7etsuo/cve-2024-6387-poc
GH-8c4fd9d538a08a1ba9737f9ddf807f97GitHubUnofficial GitHub source

a signal handler race condition in OpenSSH's server (sshd)

2024-07-013 files · 1 stars
alex14324/ssh_poc2024
GH-090838384875115705c541d83a744f65GitHubUnofficial GitHub source

An exploit for CVE-2024-6387, targeting a signal handler race condition in OpenSSH's server

2024-07-313 files · 1 stars
n1cks0n/test_cve-2024-6387
GH-355a394d514acdcfc023234bd8daa126GitHubUnofficial GitHub source

Test_CVE-2024-6387 is a lightweight, efficient tool designed to identify servers running vulnerable versions of OpenSSH

2024-07-023 files · 1 stars
passwa11/cve-2024-6387-poc
GH-51aeef18c9653cce764b9b53e494c50dGitHubUnofficial GitHub source

passwa11/cve-2024-6387-poc source repository

2024-07-013 files · 1 stars
r4tw1z/cve-2024-6387
GH-75d5f9046737615ff232bb21c917288cGitHubUnofficial GitHub source

This script, created by R4Tw1z, is designed to scan IP addresses to check if they are running a potentially vulnerable version of OpenSSH. The tool leverages multi-threading to optimize scanning performance and handle multiple IP addresses concurrently.

2024-07-022 files · 1 stars
redux-sibi-jose/mitigate_ssh
GH-2cf21e0f920583dee9e5d47157c5adc5GitHubUnofficial GitHub source

OpenSSH vulnerability CVE-2024-6387

2024-07-111 file · 1 stars
shamo0/cve-2024-6387_poc
GH-31fcdd5c6ef360af2ed4e25488c0da19GitHubUnofficial GitHub source

Script for checking CVE-2024-6387 (regreSSHion)

2024-07-022 files · 1 stars
teamos-hub/regresshion
GH-b680e6a7f0001569272f4d5517c809b7GitHubUnofficial GitHub source

This is a POC I wrote for CVE-2024-6387

2024-07-022 files · 1 stars
turbobit/cve-2024-6387-openssh-vulnerability-checker
GH-a6f005d737341684994ee79285a11f5dGitHubUnofficial GitHub source

Welcome to the CVE-2024-6387 OpenSSH Vulnerability Checker repository! This project offers multiple scripts to check the installed version of OpenSSH on your system and determine if it is vulnerable to CVE-2024-6387. It supports various environments, including Ubuntu, Mac, and Windows.

2024-07-048 files · 1 stars
xristos8574/regresshion-nmap-scanner
GH-d6cf6a08abf9e4b767a11689af084ec6GitHubUnofficial GitHub source

A bash script for nmap to scan for vulnerable machines in regards to the latest CVE-2024-6387

2024-07-021 file · 1 stars
4lxprime/regresshive
GH-f78aad55b0795bdb5e492777c05f6783GitHubUnofficial GitHub source

rewrited SSH Exploit for CVE-2024-6387 (regreSSHion)

2024-07-046 files · 0 stars
almogopp/openssh-cve-2024-6387-fix
GH-d01d48a7115093f88a0b2ba27dc4551aGitHubUnofficial GitHub source

A Bash script to mitigate the CVE-2024-6387 vulnerability in OpenSSH by providing an option to upgrade to a secure version or apply a temporary workaround. This repository helps secure systems against potential remote code execution risks associated with affected OpenSSH versions.

2024-08-203 files · 0 stars
axisops/cve-2024-6387
GH-bdce4e3c8ad82c82e7e4516dfcc652daGitHubUnofficial GitHub source

regreSSHion CVE-2024-6387 Mitigation work (Ansible Role)

2026-10-2614 files · 0 stars
ciderandwhisky/regression-scanner
GH-a7325b5508f46825fabe841923462344GitHubUnofficial GitHub source

Used to detect ssh servers vulnerable to CVE-2024-6387. Shameless robbery from https://github.com/bigb0x/CVE-2024-6387 using ChatGPT to translate the code to PHP.

2024-07-023 files · 0 stars
cognisysgroup/cve-2024-6387-checker
GH-256cfecffbda46fa1915548f92779dadGitHubUnofficial GitHub source

cognisysgroup/cve-2024-6387-checker source repository

2024-07-025 files · 0 stars
dawnl3ss/cve-2024-6387
GH-ce5239544023a2a795dc3dfae2e84b52GitHubUnofficial GitHub source

dawnl3ss/cve-2024-6387 source repository

2024-07-023 files · 0 stars