| tiêu đề | eiceblue spire-doc-mcp-server 1.0.0 Path Traversal |
|---|
| Mô tả | spire-doc-mcp-server is documented as operating on Word files under the configured WORD_FILES_PATH directory. Most tools honor that boundary by resolving document_name through get_doc_path(), which rejects traversal in the input file name.
However, the exposed convert_document(document_name, target_format, output_path) tool treats output_path differently. The server forwards attacker-controlled output_path directly into ConversionHandler.convert_document(), which creates the destination directory and saves the converted document there without canonicalization or root-boundary enforcement. A caller can therefore escape WORD_FILES_PATH and create or overwrite converted output files anywhere the service account can write. |
|---|
| Nguồn | ⚠️ https://github.com/eiceblue/spire-doc-mcp-server/issues/1 |
|---|
| Người dùng | LittleW (UID 97283) |
|---|
| Đệ trình | 12/04/2026 12:04 (cách đây 2 các tháng) |
|---|
| Kiểm duyệt | 28/04/2026 15:00 (16 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 359962 [eiceblue spire-doc-mcp-server 1.0.0 base.py get_doc_path document_name duyệt thư mục] |
|---|
| điểm | 20 |
|---|