| 标题 | florensiawidjaja BioinfoMCP 7ada7918b9e515604d3c0ae264d3a9af10bf6e54 Path Traversal |
|---|
| 描述 | The web-facing BioinfoMCP platform exposes POST /upload for converting uploaded manuals into generated MCP server artifacts. The route reads the uploaded file object from request.files, takes its client-supplied filename verbatim, and writes it using f.save(os.path.join("uploads", f.filename)).
Because the multipart filename field is attacker-controlled, an absolute path such as /tmp/bioinfomcp_poc.pdf overrides the intended uploads/ directory entirely, and traversal sequences can also escape it. The route then passes that attacker-chosen saved path into scripts/do_sth.py, so the unsafe path is not only written but also treated as the input artifact for the rest of the conversion workflow.
|
|---|
| 来源 | ⚠️ https://github.com/florensiawidjaja/BioinfoMCP/issues/2 |
|---|
| 用户 | LittleW (UID 97283) |
|---|
| 提交 | 2026-04-13 11時15分 (6 月前) |
|---|
| 管理 | 2026-04-29 13時18分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 360122 [florensiawidjaja BioinfoMCP 直到 7ada7918b9e515604d3c0ae264d3a9af10bf6e54 Upload Endpoint app.py upload 名称 目录遍历] |
|---|
| 积分 | 20 |
|---|