关联漏洞
标题:
Coolify 安全漏洞
(CVE-2025-34161)
描述:Coolify是coolLabs开源的一个开源和自托管的 Heroku/Netlify/Vercel 替代品。 Coolify v4.0.0-beta.420.7之前版本存在安全漏洞,该漏洞源于项目部署工作流中存在远程代码执行,可能导致完全控制服务器。
描述
Authenticated low-privileged RCE in Coolify via unsanitized shell commands in the Git Repository field.
介绍
| Field | Value |
|-------------|--------------------------------|
| CVE ID | CVE-2025-34161 |
| Affected | Coolify <= v4.0.0-beta.420.6 |
| Fixed in | v4.0.0-beta.420.7 |
| Severity | Critical |
| CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H|
| CWE | CWE-78 (OS Command Injection) |
## 📝 Summary
Coolify versions prior to and including v4.0.0-beta.420.6 are vulnerable to a critical remote code execution (RCE) flaw in the project deployment workflow. The platform allows authenticated users, with low-level privileges, to inject arbitrary shell commands via the Git Repository URL field during project creation. By submitting a crafted repository string containing command injection syntax, an attacker can execute arbitrary commands on the underlying host system, resulting in full server compromise.
## ⚡ Impact
- Remote Code Execution (RCE)
- Privilege escalation from low-level user to full host compromise
- Complete loss of confidentiality, integrity, and availability
## 🛠️ Steps to Reproduce
1. Login as a low-privileged user
2. Create a new project
3. Select private GIT
4. Insert a malicious payload in the `Git Repository URL` field (e.g. ``git@github.com:fake/repo.git; cat /etc/passwd #;``)
5. Deploy the project → observe arbitrary command execution in the log
## 🔗 References
- [CVE Record - CVE-2025-34161](https://cve.org/CVERecord?id=CVE-2025-34161)
文件快照
[4.0K] /data/pocs/cbbf27aa6dc432afc7e2027adf808285a0a0c311
└── [1.5K] README.md
0 directories, 1 file
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。