| शीर्षक | ezequiroga mcp-bases c630b8ab0f970614d42da8e566e9c0d15a16414c Path Traversal |
|---|
| विवरण | The search_papers MCP tool reuses the caller-controlled topic string as a directory name under papers/, but it only lowercases the value and replaces spaces with underscores. Traversal markers such as ../ are preserved. As a result, a request like topic="../escape-test" causes the server to create papers/../escape-test, which resolves outside the intended storage directory, and to later read or write papers_info.json in that escaped location. The related resource handler papers://{topic} repeats the same unsafe path construction when reading topic data back. |
|---|
| स्रोत | ⚠️ https://github.com/ezequiroga/mcp-bases/issues/2 |
|---|
| उपयोगकर्ता | LittleW (UID 97283) |
|---|
| सबमिशन | 12/04/2026 01:03 PM (2 महीनों पहले) |
|---|
| संयम | 29/04/2026 10:45 AM (17 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 360106 [ezequiroga mcp-bases research_server.py search_papers topic निर्देशिका ट्रैवर्सल] |
|---|
| अंक | 20 |
|---|