Descrizione
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.110, the sparql_query tool does not use the proper request path. querySparqlEndpoint uses the global fetch() and guards it with a single up-front check, assertHostnameResolvesSafe(url.hostname). As a result, a caller-supplied endpoint_url can be used to reach internal-only services and cloud metadata endpoints (e.g. http://169.254.169.254/), exfiltrating their responses back through the tool output. This issue has been patched in version 0.4.110.
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