| 标题 | 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 |
|---|