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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
99.539%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2024-04-24
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Weakness
- CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | CrushFTP VFS Sandbox Escape Vulnerability |
|---|---|
| Vendor / product | CrushFTP / CrushFTP |
| Date added | 2024-04-24 |
| Federal remediation due date | 2024-05-01 |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2024-04-22Published by the CNA19:21 UTC
- 2024-04-24Added to the CISA KEV catalog2 days after publication
- 2025-02-04CISA SSVC decision recorded288 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2024-4040: CrushFTP VFS - Sandbox Escape LFR
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| crushftp crushftp | from 10.0.0 before 10.7.1fixed in 10.7.1from 11.0.0 before 11.1.0fixed in 11.1.0 | 10.7.111.1.0 |
References
- https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update
- https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update
- https://www.reddit.com/r/cybersecurity/comments/1c850i2/all_versions_of_crush_ftp_are_vulnerable/
- https://github.com/airbus-cert/CVE-2024-4040
- https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/
- https://www.bleepingcomputer.com/news/security/crushftp-warns-users-to-patch-exploited-zero-day-immediately/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-4040
- https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-4040'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-4040'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-4040'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-4040'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2024-4040'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).