Exploit for CVE-2024-30078
Discription

CVE-2024-30078 Detection and Command Execution Script This project contains a NASL script that detects the CVE-2024-30078 vulnerability and executes a specified command if the target is vulnerable. The script is designed to work with the Nessus tool, automatically handling target IP addresses and ports provided by Nessus during a scan. Cyber Security Consultant Alperen Ugurlu What is CVE-2024-30078? CVE-2024-30078 is a critical vulnerability found in certain web applications or services that allows remote attackers to execute arbitrary commands on the affected system. This vulnerability arises due to improper input validation in the application's endpoint, which can be exploited by sending crafted HTTP requests. How to Use Save the Script Save the following NASL script as cve_2024_30078_check.nasl. “`nasl if (description) { script_id(123456); # Unique script ID script_version("1.2"); script_cve_id("CVE-2024-30078"); script_name("CVE-2024-30078 Detection and Command Execution"); script_summary("Detects CVE-2024-30078 vulnerability and executes a command if vulnerable."); script_category(ACT_DESTRUCTIVE_ATTACK); script_family("Web Servers"); script_copyright("Your Name"); script_dependencies("http_func.inc", "http_keepalive.inc"); exit(0); } Include necessary Nessus libraries include("http_func.inc"); include("http_keepalive.inc"); Define the endpoint and command to be executed endpoint = "/check"; # Replace with the actual endpoint command =…Read More

Back to Main

Subscribe for the latest news: