Descripción
CKAN MCP Server es una herramienta para consultar portales de datos abiertos CKAN. En versiones anteriores a 0.4.110, en el despliegue HTTP incluido en el proyecto, un atacante remoto no autenticado puede hacer que el servidor emita solicitudes a direcciones solo internas y leer las respuestas. Al dirigir la herramienta sparql_query a un endpoint controlado por el atacante que redirige al servicio de metadatos de la instancia en la nube (http://169.254.169.254/…), el servidor sigue la redirección (sin volver a validarla), obtiene los metadatos y los devuelve, incluidas, en IMDSv1, las credenciales temporales del rol IAM. Esto permite el robo remoto de credenciales y el movimiento lateral hacia la cuenta en la nube de la víctima. Este problema se corrigió en la versión 0.4.110.
Qué hacer
Revisa si usas el producto afectado y en qué versión, y aplica la actualización o la mitigación que indique el aviso del fabricante. CISA no ha confirmado que se esté explotando; si eso cambia, esta ficha pasa a «explotada» y te avisamos en el boletín.
Versiones afectadas
- ckan-mcp-server Afectadas: < 0.4.110
Según el registro de la vulnerabilidad en CVE.org, tal como lo publicó el fabricante. Confirma tu versión exacta en el aviso del fabricante.
Referencias
- Referencia en github.comgithub.com/ondata/ckan-mcp-server/security/advisories/GHSA-vmrr-v4xp-…
Ver el texto original en inglés (CVE.org)
CKAN MCP Server: Unauthenticated remote SSRF to cloud metadata → IAM credential theft
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.110, on the project's shipped HTTP deployment, an unauthenticated remote attacker can make the server issue requests to internal-only addresses and read the responses. Pointing the sparql_query tool at an attacker-controlled endpoint that redirects to the cloud instance-metadata service (http://169.254.169.254/…) causes the server to follow the redirect (no re-validation), fetch the metadata, and return it — including, on IMDSv1, temporary IAM role credentials. This yields remote credential theft and lateral movement into the victim's cloud account. This issue has been patched in version 0.4.110.