| 标题 | 8nite metatrader-4-mcp 1.0.0 Path Traversal |
|---|
| 描述 | An arbitrary file write vulnerability (CWE-73) has been identified in mcp-mt4-server version 1.0.0 (commit 454eccc), specifically within the sync_ea MCP tool in src/index.ts. The tool accepts a user‑supplied ea_name argument and concatenates it into filesystem paths without validating that the resolved path remains inside the intended ea-strategies/active or ea-strategies/logs directories. An attacker with network access to the MCP interface can supply parent‑directory traversal sequences (e.g., ../..) to create or overwrite files at arbitrary writable locations on the server. Additionally, the sync_ea_from_file tool can read arbitrary local files via a user‑controlled file_path argument and write their contents through the same vulnerable path. No fixed version is available at the time of reporting. |
|---|
| 来源 | ⚠️ https://github.com/8nite/metatrader-4-mcp/issues/1 |
|---|
| 用户 | BruceJqs (UID 97404) |
|---|
| 提交 | 2026-04-16 06時35分 (6 月前) |
|---|
| 管理 | 2026-05-01 16時14分 (15 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 360573 [8nite metatrader-4-mcp 1.0.0 sync_ea_from_file src/index.ts CallToolRequestSchema ea_name 目录遍历] |
|---|
| 积分 | 20 |
|---|