Exploit database

Vulnerability

CVE-2024-4040

Unauthenticated arbitrary file read and remote code execution in CrushFTP

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · directcyber

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

11 sources
stuub/cve-2024-4040-ssti-lfi-poc
GH-b3e8f9237f965b7910f3aa2cf6a29c94GitHubUnofficial GitHub sourcePreferred

CVE-2024-4040 CrushFTP SSTI LFI & Auth Bypass | Full Server Takeover | Wordlist Support

2024-04-252 files · 67 stars
airbus-cert/cve-2024-4040
GH-f11575c35b08474f6ded7a6a864cc31bGitHubUnofficial GitHub source

Scanner for CVE-2024-4040

2024-04-234 files · 59 stars
rbih-boulanouar/cve-2024-4040
GH-d0f4c13fdec0530edbfe8f2ea06e2a8aGitHubUnofficial GitHub source

rbih-boulanouar/cve-2024-4040 source repository

2024-04-253 files · 17 stars
gotr00t0day/cve-2024-4040
GH-86f2956e359163cc37e3a4e651680f65GitHubUnofficial GitHub source

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.

2024-05-033 files · 9 stars
geniuszly/gencrushsstiexploit
GH-37a274da2760dbf2e682b60c2bcf13f2GitHubUnofficial GitHub source

is a PoC for CVE-2024-4040 tool for exploiting the SSTI vulnerability in CrushFTP

2024-09-304 files · 8 stars
dhammerg/cve-2024-4040
GH-eb96525ec304ebdf0465a008af547dbaGitHubUnofficial GitHub source

Exploit CrushFTP CVE-2024-4040

2024-04-303 files · 5 stars
entroychang/cve-2024-4040
GH-6a5469b03de848b020ff123c2b46c99dGitHubUnofficial GitHub source

CVE-2024-4040 PoC

2024-07-0517 files · 3 stars
12442rf/poc
GH-3a840c3a743e0417793b49231edf2d51GitHubUnofficial GitHub source

12442rf/poc source repository

2025-05-0612 files · 1 stars
1ncendium/cve-2024-4040
GH-dd5bcde1fc9eec8ff94c5f5b05b197c8GitHubUnofficial GitHub source

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.

2024-05-133 files · 0 stars
cthhhhhh/crushftp-ssti-lfi-proof-of-concept
GH-603e8d8acf6a9108498863fb61bcf381GitHubUnofficial GitHub source

Proof-of-concept for CVE-2024-4040 (CrushFTP SSTI -> unauthenticated LFI) in a controlled CS443 lab environment - for educational/authorised use only.

2026-05-0621 files · 0 stars