
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.

तेज़ YAML-आधारित भेद्यता स्कैनर, जिसमें वेब ऐप्स, एपीआई, नेटवर्क, DNS और क्लाउड इंफ्रास्ट्रक्चर में स्वचालित सुरक्षा परीक्षण के लिए टेम्पलेट-संचालित डिटेक्शन इंजन है।

स्वचालित भेद्यता का पता लगाने, मैनुअल पेनिट्रेशन टेस्टिंग, और प्रॉक्सी-आधारित इंटरसेप्शन इंजन के साथ API सुरक्षा परीक्षण के लिए ओपन-सोर्स वेब एप्लिकेशन सुरक्षा स्कैनर।

इस रिपॉजिटरी में Greenbone Community Edition के लिए स्कैनर घटक शामिल है।
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