External Control of File Name or Path in CrushFTP - CVE-2024-4040
Published: April 22, 2024 / Updated: March 21, 2025
Vulnerability identifier: #VU88869
CSH Severity: High
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-4040
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerability details
The vulnerability allows a remote user to delete arbitrary files.
The vulnerability exists due to application allows to access files outside of the virtual file system. A remote authenticated user can read arbitrary system files.
Note, the vulnerability is being exploited in the wild.
Affected software
CrushFTP
How to mitigate CVE-2024-4040
Install updates from vendor's website.
CrushFTP - update to 11.1.0
Links to Public Exploits and PoC-codes
- Exploit #11235 - GenCrushSSTIExploit (March 21, 2025)
- Exploit #10581 - GenCrushSSTIExploit (is a PoC for CVE-2024-4040 tool for exploiting the SSTI vulnerability in CrushFTP) (October 11, 2024)
- Exploit #10209 - CVE-2024-4040 (July 12, 2024)
- Exploit #10172 - CVE-2024-4040 (July 5, 2024)
- Exploit #9782 - CVE-2024-4040 (May 13, 2024)
- Exploit #9776 - CVE-2024-4040-SSTI-LFI-PoC (May 13, 2024)
- Exploit #9774 - CVE-2024-4040 (May 13, 2024)
- Exploit #9764 - CrushFTP Unauthenticated Arbitrary File Read (May 7, 2024)
- Exploit #9753 - CVE-2024-4040 (April 26, 2024)
- Exploit #9749 - CVE-2024-4040-SSTI-LFI (April 26, 2024)