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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| CrushFTP | CrushFTP | 10.0 – < 10.7.1, 11.0 – < 11.1.0 | 10.7.1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
CrushFTP Unauthenticated Arbitrary File Read
auxiliary/gather/crushftp_fileread_cve_2024_4040
GitHub 19 repositories · most starred shown
-
Stuub/CVE-2024-4040-SSTI-LFI-PoC ★ 69 · Apr 25, 2024
CVE-2024-4040 CrushFTP SSTI LFI & Auth Bypass | Full Server Takeover | Wordlist Support
-
airbus-cert/CVE-2024-4040 ★ 59 · Apr 23, 2024
Scanner for CVE-2024-4040
-
rbih-boulanouar/CVE-2024-4040 ★ 17 · Apr 25, 2024
-
gotr00t0day/CVE-2024-4040 ★ 9 · May 3, 2024
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 …
-
geniuszly/GenCrushSSTIExploit ★ 8 · Sep 30, 2024
is a PoC for CVE-2024-4040 tool for exploiting the SSTI vulnerability in CrushFTP
-
jakabakos/CVE-2024-4040-CrushFTP-File-Read-vulnerability ★ 7 · May 1, 2024
-
dhammerg/CVE-2024-4040 ★ 5 · Apr 30, 2024
Exploit CrushFTP CVE-2024-4040
-
entroychang/CVE-2024-4040 ★ 3 · Jul 5, 2024
CVE-2024-4040 PoC
-
0xN7y/CVE-2024-4040 ★ 0 · Apr 28, 2024
exploit for CVE-2024-4040
-
Mufti22/CVE-2024-4040 ★ 0 · Apr 25, 2024
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 …
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CrushFTP VFS - Sandbox Escape LFR http/cves/2024/CVE-2024-4040.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2024-0944 CrushFTP: Schwachstelle ermöglicht Codeausführung mit administrativen Rechten BSI CERT-Bund (WID) · Apr 25, 2024
References
- https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update vendor-advisory
- https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update vendor-advisory
- https://www.reddit.com/r/cybersecurity/comments/1c850i2/all_versions_of_crush_ftp_are_vulnerable/ related
- https://www.bleepingcomputer.com/news/security/crushftp-warns-users-to-patch-exploited-zero-day-immediately/ media-coverage
- https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/ third-party-advisory
- https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/ third-party-advisory
- https://github.com/airbus-cert/CVE-2024-4040 exploit