CVE-2024-4040 exploited in the wild: everything you need to know
CrushFTP versions before 10.7.1 and 11.1.0 contain a VFS sandbox escape that allows low-privileged attackers to read files outside their designated limits. Researchers found it can be exploited without authentication to bypass admin authentication and execute code remotely.
On April 19, 2024, CrushFTP, a managed file transfer vendor disclosed a 0day vulnerability in several versions of its software through a private mailing list. This severe vulnerability, identified as CVE-2024-4040 with a CVSS score of 9.8, was discovered by Simon Garrelou and assigned by a third-party CNA…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a server-side template injection flaw in the web interface that lets crafted input escape the virtual file system sandbox.
Impact
Attackers could read arbitrary files, bypass administrator authentication, and execute code remotely; the flaw is only exploitable through the web interface port, so SFTP-only setups are safe.
What the attacker needed
Web interface port exposed; no authentication needed
The fix
Upgrade to versions 10.7.1 or 11.1.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
CrushFTP is a file transfer program. A sandbox is a security boundary that keeps users inside their own folder. The bug let someone break out of that folder and read other files, and researchers found it could also let them run their own code on the server without logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.