提交 #944363: mcphub <= 1.0.31 Missing Authorization信息

标题mcphub <= 1.0.31 Missing Authorization
描述The built-in prompt and resource controllers perform no role checking. The mutating POST/PUT /api/prompts* and POST/PUT /api/resources* routes are attached to the authenticated router with no admin gate, and the handlers never read req.user. The DAO singletons they write are consulted first — ahead of any connected MCP server — for every session in handleGetPromptRequest / handleReadResourceRequest. A non-admin can therefore create, overwrite, and shadow global prompt templates and resources that all other users are served. The scored impact is the unauthorized integrity violation (creation/tampering/shadowing of globally-served records); stored prompt injection into other users' LLM sessions is a downstream consequence of that tampering.
来源⚠️ https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m
用户
 wshi.24 (UID 98607)
提交2026-08-24 03時30分 (2 月前)
管理2026-09-19 11時31分 (26 days later)
状态重复
VulDB条目397401 [samanhappy MCPHub 直到 1.0.31 Prompt/Resource Controllers /api/prompts handleGetPromptRequest/handleReadResourceRequest 权限提升]
积分0

Do you want to use VulDB in your project?

Use the official API to access entries easily!