{"id":"CVE-2024-4040","published":"2024-04-22T20:15:07Z","modified":"2026-06-17T08:00:59Z","title":"CrushFTP VFS Sandbox Escape Vulnerability","vendor":"CrushFTP","product":"CrushFTP","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A server-side template injection flaw in CrushFTP's VFS sandbox affects CrushFTP versions before 10.7.1 and 11.1.0 on all platforms. An unauthenticated remote attacker over the network, requiring no user interaction and no special configuration, can read files outside the VFS sandbox, bypass authentication to obtain administrative access, and execute code on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:30Z"},"cvss":{"score":10.0,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99539,"percentile":0.99946,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2024-04-24","dueDate":"2024-05-01","ransomware":false,"requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","notes":"https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update&version=34; https://nvd.nist.gov/vuln/detail/CVE-2024-4040","provenance":"source"},"vulncheckKev":{"dateAdded":"2024-04-19","exploitedFirstSeen":"2024-04-19","ransomware":true,"evidence":[{"url":"https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/","date":"2024-04-19"},{"url":"https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/","date":"2024-04-23"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2024-04-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-14&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-15&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-16&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-21&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-27&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-27"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-28&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-05-30&host_type=src&vulnerability=cve-2024-4040","date":"2024-05-30"}],"evidenceTotal":215,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/airbus-cert/CVE-2024-4040","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.bleepingcomputer.com/news/security/crushftp-warns-users-to-patch-exploited-zero-day-immediately/","tags":["Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update","tags":["Patch","Vendor Advisory"]},{"url":"https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update","tags":["Patch","Vendor Advisory"]},{"url":"https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/","tags":["Third Party Advisory"]},{"url":"https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/","tags":["Exploit","Issue Tracking"]},{"url":"https://www.reddit.com/r/cybersecurity/comments/1c850i2/all_versions_of_crush_ftp_are_vulnerable/","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/airbus-cert/CVE-2024-4040","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.bleepingcomputer.com/news/security/crushftp-warns-users-to-patch-exploited-zero-day-immediately/","tags":["Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update","tags":["Patch","Vendor Advisory"]},{"url":"https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update","tags":["Patch","Vendor Advisory"]},{"url":"https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/","tags":["Third Party Advisory"]},{"url":"https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/","tags":["Exploit","Issue Tracking"]},{"url":"https://www.reddit.com/r/cybersecurity/comments/1c850i2/all_versions_of_crush_ftp_are_vulnerable/","tags":["Issue Tracking","Patch"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-4040","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Unauthenticated exploitation of public-facing file transfer server","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"server side template injection vulnerability in CrushFTP","start":2,"end":58}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1005","name":"Data from Local System","tactics":["collection"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Arbitrary file read outside sandbox","mappingType":"primary_impact","evidence":[{"from":"description","quote":"read files from the filesystem outside of the VFS Sandbox","start":160,"end":217}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Direct remote code execution on server","mappingType":"primary_impact","evidence":[{"from":"description","quote":"perform remote code execution on the server","start":276,"end":319}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-32605","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-32605","exploited":true,"exploitedSince":"2024-04-24","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":16,"skipped":3,"earliest":"2024-04-23","earliestUrl":"https://github.com/airbus-cert/CVE-2024-4040","repos":[{"name":"Stuub/CVE-2024-4040-SSTI-LFI-PoC","url":"https://github.com/Stuub/CVE-2024-4040-SSTI-LFI-PoC","stars":66,"created":"2024-04-25"},{"name":"airbus-cert/CVE-2024-4040","url":"https://github.com/airbus-cert/CVE-2024-4040","stars":56,"created":"2024-04-23"},{"name":"rbih-boulanouar/CVE-2024-4040","url":"https://github.com/rbih-boulanouar/CVE-2024-4040","stars":15,"created":"2024-04-25"},{"name":"geniuszly/GenCrushSSTIExploit","url":"https://github.com/geniuszly/GenCrushSSTIExploit","stars":8,"created":"2024-09-30"},{"name":"gotr00t0day/CVE-2024-4040","url":"https://github.com/gotr00t0day/CVE-2024-4040","stars":7,"created":"2024-05-03"}]},"metasploit":[{"name":"CrushFTP Unauthenticated Arbitrary File Read","module":"auxiliary/gather/crushftp_fileread_cve_2024_4040","type":"auxiliary","disclosureDate":null,"url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/crushftp_fileread_cve_2024_4040.rb"}],"nuclei":[{"id":"CVE-2024-4040","name":"CrushFTP VFS - Sandbox Escape LFR","severity":"critical","path":"http/cves/2024/CVE-2024-4040.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4040.yaml"}],"first":{"date":"2024-04-23","source":"PoC-in-GitHub","url":"https://github.com/airbus-cert/CVE-2024-4040"},"provenance":"source"},"exploitRefs":["https://github.com/airbus-cert/CVE-2024-4040","https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059","T1005"],"provenance":"ai"}],"timeline":[{"date":"2024-04-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/","provenance":"source"},{"date":"2024-04-22","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4040","provenance":"source"},{"date":"2024-04-23","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/airbus-cert/CVE-2024-4040","provenance":"source"},{"date":"2024-04-24","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-04-24","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-32605","provenance":"source"}],"speed":{"daysToPublicExploit":1,"firstExploitFrom":"PoC-in-GitHub","daysToKev":2},"priority":{"score":80.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 924 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9995"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 16 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10.0"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}