| タイトル | ZachHandley ZMCPTools 0.2.2 Path Traversal |
|---|
| 説明 | A path traversal vulnerability (CWE-22) has been identified in ZMCPTools version 0.2.2, specifically within the MCP log resource handling code in src/managers/ResourceManager.ts. The resources/read handler accepts a user-controlled logs://{dirname}/content?file={filename} URI and constructs a filesystem path without validating that the resolved path remains under the intended log directory. An attacker with access to the MCP interface can supply ../ sequences in the dirname parameter to read arbitrary local files accessible to the server process, such as /etc/hosts. No fixed version is available at the time of reporting. |
|---|
| ソース | ⚠️ https://github.com/ZachHandley/ZMCPTools/issues/8 |
|---|
| ユーザー | _Eternity_ (UID 97332) |
|---|
| 送信 | 2026年04月14日 04:45 (6 月 ago) |
|---|
| モデレーション | 2026年04月29日 18:53 (16 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 360186 [ZachHandley ZMCPTools 迄 0.2.2 MCP Log Resource ResourceManager.ts dirname ディレクトリトラバーサル] |
|---|
| ポイント | 20 |
|---|