Descrizione
FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, while testing the GitHubProvider OAuth integration, which allows authentication to a FastMCP MCP server via a FastMCP OAuthProxy using GitHub OAuth, it was discovered that the FastMCP OAuthProxy does not properly validate the user's consent upon receiving the authorization code from GitHub. In combination with GitHub’s behavior of skipping the consent page for previously authorized clients, this introduces a Confused Deputy vulnerability. This issue has been patched in version 3.2.0.
Tipo di vulnerabilità
CWE-441
Unintended Proxy or Intermediary
The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Nascondere le proprie attività, Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Enforce the use of strong mutual authentication mechanism between the two parties.
Architettura e progettazione
Whenever a product is an intermediary or proxy for transactions between two other components, the proxy core should not drop the identity of the initiator of the transaction. The immutability of the identity of the initiator must be maintained and should be forwarded all the way to the target.
Tutte le 231 CVE di tipo CWE-441, con andamento e prevenzione