| 标题 | eiceblue spire-pdf-mcp-server 0.1.1 Path Traversal |
|---|
| 描述 | spire-pdf-mcp-server advertises PDF_FILES_PATH as the directory for managed PDF files. The server nonetheless resolves user-supplied paths with a helper that explicitly returns absolute paths unchanged and blindly joins relative paths to PDF_FILES_PATH without normalization or containment checks.
As a result, callers can escape the configured PDF directory with payloads such as ../../../../tmp/poc.pdf or /tmp/poc.pdf. Multiple exposed tools then operate on that escaped path, allowing arbitrary PDF creation, arbitrary PDF conversion to attacker-chosen output locations, and arbitrary reads of existing host PDFs that the service account can access. |
|---|
| 来源 | ⚠️ https://github.com/eiceblue/spire-pdf-mcp-server/issues/1 |
|---|
| 用户 | LittleW (UID 97283) |
|---|
| 提交 | 2026-04-12 12時05分 (2 月前) |
|---|
| 管理 | 2026-04-28 15時00分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 359963 [eiceblue spire-pdf-mcp-server 0.1.1 PDF File server.py get_pdf_path filepath 目录遍历] |
|---|
| 积分 | 20 |
|---|