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-4040 — Exploit CrushFTP CVE-2024-4040 | Kitploit
Tools/GitHubGitHub/dhammerg/cve-2024-4040
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed Teaming
GitHubdhammerg/cve-2024-4040

CVE-2024-4040

Exploit CrushFTP CVE-2024-4040

View Repository
512 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

Exploit Code for CVE-2024-4040

Overview

This exploit code targets the CVE-2024-4040 vulnerability, allowing unauthorized access to user accounts by reading and validating tokens stored in the "sessions.obj" file. If the tokens are valid, hackers can gain entry to the targeted accounts. Unlike other methods exploiting similar vulnerabilities such as CVE-2023-43177, this script does not include the backdoor JAR creation and upload functionality (you can develop this part for your self).

screenshot

Example

python3 exploit.py -u http://127.0.0.1:8080/

Disclaimer

This exploit code is provided for educational and testing purposes only. Misuse of this code to gain unauthorized access to systems or accounts is illegal and unethical. Use at your own risk.

Vulnerability Information

CVE ID: CVE-2024-4040 Description: A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms allows unauthenticated remote attackers to read files from the filesystem outside of the VFS Sandbox, bypass authentication to gain administrative access, and perform remote code execution on the server.

Credits

This exploit code was written by Md7.

Download Tool