Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-6387 — SSH RCE PoC CVE-2024-6387 | Kitploit
Tools/GitHubGitHub/p4x1s/cve-2024-6387
Vulnerability AnalysisExploitationPenetration TestingRed TeamingRemote Access ToolPayload Development
GitHubp4x1s/cve-2024-6387

CVE-2024-6387

SSH RCE PoC CVE-2024-6387

View Repository
9102 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Vulnerability Description

CVE-2024-6387 exploit targets a signal handler race condition in the OpenSSH server (sshd) on glibc-based Linux systems. Due to calling an async-signal-unsafe function in the SIGALRM handler, this vulnerability allows remote code execution as root.

Vulnerability Summary

This vulnerability targets the SIGALRM handler race condition in OpenSSH's sshd.

Affected versions: OpenSSH 8.5p1 through 9.8p1.

Vulnerability: Due to the vulnerable SIGALRM handler calling an async-signal-unsafe function, remote code execution as root is possible.

Asset Detection

root@kitploit:~
protocol="ssh"

Script Compilation

Requires compiling the code into an executable. Assuming the file is named exploit.c, use the following command to compile

root@kitploit:~

gcc -o exploit exploit.c

./exploit <ip> <port>

Example:

./exploit 192.168.1.100 22

Download Tool