目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-4040 PoC — CrushFTP 代码注入漏洞

来源
关联漏洞
标题: CrushFTP 代码注入漏洞 (CVE-2024-4040)
Description:CrushFTP是一款文件传输服务器。 CrushFTP 10.7.1 和 11.1.0 之前版本存在安全漏洞,该漏洞源于允许低权限的远程攻击者从 VFS 沙箱之外的文件系统读取文件。
Description
A Dockerized setup for running a vulnerable CrushFTP 10 server instance (CVE-2024-4040).
介绍
# CrushFTP 10.0 Docker Deployment (vulnerable to CVE-2024-4040)

This repository provides a Dockerfile to build a Docker image and deploy a Linux container with a CrushFTP server that is vulnerable to the [CrushFTP VFS Sandbox Escape Vulnerability](https://nvd.nist.gov/vuln/detail/cve-2024-4040) (CVE-2024-4040).


> ⚠️ **Disclaimer**
> This repository is provided for educational and security research purposes only. The Docker image deploys a version of CrushFTP that is known to be vulnerable. Do not expose it to the internet or use it in production environments. The author is not affiliated with CrushFTP and assumes no responsibility for misuse.

---
## How to deploy the vulnerable CrushFTP server?

### 1. Build the image from the Dockerfile

```
docker build -t cve-2024-4040-crushftp10 .
```

### 2. Create and run the container from the image
```
docker run -dit -p 22:22 -p 21:21 -p 8080:8080 -p 9090:9090 -p 443:443 --name CVE-2024-4040-CrushFTP10 cve-2024-4040-crushftp10
```

The service should be now running on ports 21, 22, 443, 8080 and 9090.

## How to exploit the vulnerability?
I recommend trying out [Stuub](https://github.com/Stuub)'s [CVE-2024-4040-SSTI-LFI-PoC](https://github.com/Stuub/CVE-2024-4040-SSTI-LFI-PoC) proof of concept.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →