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-2024-25641-Exploit-for-Cacti-1.2.26 | Kitploit
Tools/GitHubGitHub/regantemudo/cve-2024-25641-exploit-for-cacti-1.2.26
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed TeamingPayload Development
GitHubregantemudo/cve-2024-25641-exploit-for-cacti-1.2.26

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-2024-25641-Exploit-for-Cacti-1.2.26

View Repository
1 year agoNot yet reviewed

CVE-2024-25641 Exploit for Cacti 1.2.26

Exploiting CVE-2024-25641 on Cacti 1.2.26. When a user is authenticated, an arbitrary file write vulnerability allows Remote Code Execution (RCE).


Overview

This script automates the process of exploiting CVE-2024-25641 in Cacti 1.2.26. The vulnerability allows authenticated users with the Import Templates permission to achieve Remote Code Execution (RCE) via the Package Import feature.

📌 Original Advisory: GitHub Security Advisory


Features

  • ✅ Fully Automated Exploitation: Simplifies the attack process.
  • ⚡ Flexible Targeting: Easily configure target URL, credentials, and payload.
  • 📦 Dependency Management: Ensure smooth installation via requirements.txt.

Prerequisites

Ensure you have the following installed:

  • 🐍 Python 3.x
  • 📜 Required Python modules (install via requirements.txt)

Installation

Clone the repository:

root@kitploit:~
git clone https://github.com/regantemudo/CVE-2024-25641-Exploit-for-Cacti-1.2.26.git
cd CVE-2024-25641-Exploit-for-Cacti-1.2.26

Install dependencies:

root@kitploit:~
pip install -r requirements.txt

Usage

🚀 Prepare Your PHP Payload

By default, the script uses ./php/reverse_shell.php as the payload. Modify the IP address and port inside the PHP script accordingly.

🔥 Run the Exploit

root@kitploit:~
python3 cacti_exploit.py <URL> <username> <password> [-p <payload_path>]

Arguments:

  • 🌍 URL: The target Cacti URL.
  • 👤 username: Login username.
  • 🔑 password: Login password.
  • 🛠️ -p/--payload: (Optional) Path to a custom PHP payload (default: ./php/reverse_shell.php).

⚡ Execute the Payload

Once the script successfully uploads the PHP payload, execute it via the browser or directly through the script.

Project Structure

root@kitploit:~
CVE-2024-25641-Exploit-for-Cacti-1.2.26/
│── php/
|  ├── reverse_shell.php
│── README.md
│── cacti_exploit.py
│── requirements.txt

⚠️ Disclaimer

This tool is strictly for educational and authorized penetration testing. Unauthorized use is illegal and may lead to severe consequences. The authors hold no responsibility for any misuse or damage caused by this software.

Download Tool