| 제목 | elie mcp-project 0.1.0 Path Traversal |
|---|
| 설명 | MCP Research Server stores arXiv search results under PAPER_DIR = "papers". The search_papers(topic, max_results) tool incorrectly reuses the caller-controlled topic string as a filesystem directory name:
path = os.path.join(PAPER_DIR, topic.lower().replace(" ", "_"))
file_path = os.path.join(path, "papers_info.json")
Because the code only lowercases the string and replaces spaces, traversal sequences such as ../ remain intact. A malicious topic therefore escapes the intended papers/ directory and causes the server to create or overwrite papers_info.json in an attacker-chosen location on the host.
|
|---|
| 원천 | ⚠️ https://github.com/elie/mcp-research-server/issues/1 |
|---|
| 사용자 | LittleW (UID 97283) |
|---|
| 제출 | 2026. 04. 12. PM 12:14 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 28. PM 03:17 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 359971 [elie mcp-project 0.1.0 research_server.py search_papers topic 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|