提交 #792655: AstrBotDevs AstrBot 4.22.1 Arbitrary Command Execution信息

标题AstrBotDevs AstrBot 4.22.1 Arbitrary Command Execution
描述AstrBot versions up to and including 4.22.1 allow authenticated dashboard users to add MCP (Model Context Protocol) server configurations via the /api/tools/mcp/add endpoint. The MCP server configuration includes a command field specifying the executable to launch and an args field for command-line arguments. These values are passed directly to subprocess execution without any validation or restriction, allowing an attacker with dashboard access to execute arbitrary system commands.
来源⚠️ https://github.com/AstrBotDevs/AstrBot/issues/7169
用户
 Yu_Bao (UID 89348)
提交2026-03-30 05時32分 (6 月前)
管理2026-04-11 10時50分 (12 days later)
状态已接受
VulDB条目356978 [AstrBotDevs AstrBot 直到 4.22.1 MCP Endpoint tools.py add_mcp_server command 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!