
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.

Scanner di vulnerabilità basato su YAML, veloce, con motore di rilevamento basato su template per test di sicurezza automatizzati su applicazioni web, API, reti, DNS e infrastrutture cloud.

Scanner di sicurezza per applicazioni web open-source per il rilevamento automatico delle vulnerabilità, test di penetrazione manuali e test di sicurezza delle API con un motore di intercettazione basato su proxy.

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
Questo repository contiene il componente scanner per Greenbone Community Edition.