Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2024-6387 PoC — Openssh: regresshion - race condition in ssh allows rce/dos

Source
Associated Vulnerability
Title:Openssh: regresshion - race condition in ssh allows rce/dos (CVE-2024-6387)
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.
Readme
## CVE-2024-6387_Check: A Vulnerability Check Tool


##  Description

CVE-2024-6387_Check is a lightweight and efficient tool designed to identify servers running vulnerable versions of OpenSSH, specifically targeting the regreSSHion vulnerability (CVE-2024-6387). This script simplifies the quick analysis of multiple IP addresses, domain names, and CIDR network ranges to detect potential vulnerabilities and ensure your infrastructure remains secure.

##  Features

- *Fast Analysis:*  Quickly scans multiple IP addresses, domain names, and CIDR ranges for CVE-2024-6387 vulnerability.

- *Banner Retrieval:*  Efficiently retrieves SSH banners without authentication.

- *Multi-threading:*  Utilizes threads for simultaneous checks, significantly reducing scan time.

- *Detailed Output:*  Provides a clear output summarizing the scan results.

- *Port Checking:*  Identifies closed ports and provides a summary of unresponsive hosts.

##  Usage

`python CVE-2024-6387_Check.py <targets> [--port PORT] [--timeout TIMEOUT] [--list FILE]`


### Examples

#### Single IP

`python CVE-2024-6387_Check.py 192.168.1.1`


#### IPs from a file

`python CVE-2024-6387_Check.py -l ip_list.txt`


#### Multiple IPs and domains

`python CVE-2024-6387_Check.py 192.168.1.1 example.com 192.168.1.2`


#### CIDR range

`python CVE-2024-6387_Check.py 192.168.1.0/24`


#### With custom port

`python CVE-2024-6387_Check.py 192.168.1.1 example.com --port 2222`




File Snapshot

[4.0K] /data/pocs/6688c053341c9e77aef48972abd4893b22d732c8 ├── [7.4K] CVE-2024-6387_Check.py └── [1.4K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →