
C proof-of-concept exploit for CVE-2024-6387, the OpenSSH sshd SIGALRM race condition enabling unauthenticated remote code execution as root on glibc-based Linux.

Schneller YAML-basierter Schwachstellenscanner mit vorlagenbasierter Erkennungs-Engine für automatisierte Sicherheitstests in Web-Apps, APIs, Netzwerken, DNS und Cloud-Infrastruktur.

Open-Source-Webanwendungssicherheitsscanner für automatisierte Schwachstellenerkennung, manuelles Penetrationstesten und API-Sicherheitstests mit einer proxybasierten Abfangengine.

CVE-2024-6387 exploit targeting a signal handler race condition in the OpenSSH server (sshd) on glibc-based Linux systems. Because async-signal-unsafe functions are called in the SIGALRM handler, the vulnerability allows remote code execution as root.
This vulnerability targets a race condition in the SIGALRM handler in OpenSSH's sshd.
Affected versions: OpenSSH 8.5p1 through 9.8p1.
Vulnerability: Because the vulnerable SIGALRM handler calls async-signal-unsafe functions, remote code execution as root is possible.
protocol="ssh"
The code needs to be compiled into an executable file. Assuming the file is named exploit.c, use the following command to compile it
gcc -o exploit exploit.c
./exploit <ip> <port>
例如:
./exploit 192.168.1.100 22
Dieses Repository enthält die Scanner-Komponente für die Greenbone Community Edition.