Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-46196 | Kitploit
Tools/GitHubGitHub/dpgg101/cve-2022-46196
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRed Teaming
GitHubdpgg101/cve-2022-46196

CVE-2022-46196

View Repository
3 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-46196

Description

This Python code exploits an unauthenticated command injection vulnerability in Cacti versions up to and including 1.2.22. It uses argparse to parse arguments from the command line, requests to get the HTML content of a target Cacti instance, and BeautifulSoup to extract the version number of Cacti from the HTML content. If the version is <= 1.2.22, the code proceeds with the exploit.

The exploit involves sending a payload to the remote_agent.php file of the Cacti instance, with the payload being a Bash command that opens a reverse shell to a specified listening IP and port. The code iterates through a range of host IDs to send the payload to, and once successful, opens a reverse shell on the specified IP and port.

This code should only be used for ethical purposes, such as security research or penetration testing.

Usage

To run the code, use the following command:

root@kitploit:~
python exploit.py --url <URL of Cacti's instance> --lhost <Listening IP> --lport <Listening Port>

Where:

  • URL of Cacti's instance is the URL of the target Cacti instance.
  • Listening IP is the IP address on which the reverse shell should listen.
  • Listening Port is the port on which the reverse shell should listen.

Required Python Libraries/Modules

The code requires the following Python libraries/modules:

root@kitploit:~
argparse
requests
BeautifulSoup4
re
Download Tool