Descrizione
obsidian-sync-mcp is an MCP server that gives AI agents access to Obsidian vaults. Prior to 0.5.7, deployments running without MCP_AUTH_TOKEN install no serverOptions.authenticate check for the HTTP /mcp endpoint, so requests are dispatched without validating the Host or Origin headers. A malicious website visited by the operator can use DNS rebinding to reach loopback, LAN, VPN, or container-published addresses, or directly issue a cross-origin request to loopback, and invoke the MCP tool surface to read, create, overwrite, delete, or move vault notes. Deployments using MCP_AUTH_TOKEN are not affected because browsers do not attach the bearer token. This issue is fixed in version 0.5.7.
Tipo di vulnerabilità
CWE-350
Reliance on Reverse DNS Resolution for a Security-Critical Action
The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Use other means of identity verification that cannot be simply spoofed. Possibilities include a username/password or certificate.
Sviluppo
Perform proper forward and reverse DNS lookups to detect DNS spoofing.
Tutte le 26 CVE di tipo CWE-350, con andamento e prevenzione