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
openssh-cve-2024-6387.sh — openssh-cve-2024-6387.sh | Kitploit
Tools/GitHubGitHub/rumochnaya/openssh-cve-2024-6387.sh
Vulnerability AnalysisExploitationConfiguration AuditingNetwork SecurityIncident ResponseRemote Access Tool
GitHubrumochnaya/openssh-cve-2024-6387.sh

openssh-cve-2024-6387.sh

openssh-cve-2024-6387.sh

View Repository
12 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

OpenSSH CVE-2024-6387

A vulnerability (CVE-2024-6387) has been discovered in OpenSSH. Successful exploitation of this vulnerability allows a remote, unauthenticated attacker to execute arbitrary code as root on the target machine. All the glibc-based Linux distributions that have OpenSSH exposed are vulnerable to this issue.

What should you do?

  1. If you use virtual machines, bare-metal servers, or computers operating on Linux and accessible from the Internet, update firewall rules that may allow SSH through TCP on any port or limit the source IPs to trusted networks.
  2. If OpenSSH needs to be left on, you can also execute a configuration update which eliminates the race case condition for the exploit. This is a runtime mitigation. To apply the changes in the sshd config, this script will restart the sshd service:

Step by step:

  1. Clone this repository
    root@kitploit:~
    git clone https://github.com/rumochnaya/openssh-cve-2024-6387.sh.git
    
  2. Open directory
    root@kitploit:~
    cd openssh-cve-2024-6387.sh
    
  3. Make a script executable
    root@kitploit:~
    chmod +x openssh-cve-2024-6387.sh
    
  4. Run the script
    root@kitploit:~
    sudo ./openssh-cve-2024-6387.sh
    

Done!

But be careful, update Linux at the first opportunity.

Download Tool