إرسال #803083: elie mcp-project 0.1.0 Path Traversalالمعلومات

عنوان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)
ارسال12/04/2026 12:14 PM (2 أشهر منذ)
الاعتدال28/04/2026 03:17 PM (16 days later)
الحالةتمت الموافقة
إدخال VulDB359971 [elie mcp-project 0.1.0 research_server.py search_papers topic اجتياز الدليل]
النقاط20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!