Descrizione
ChatCLI before v1.215.2 contains an improper validation vulnerability in the MCP OAuth login flow that uses server-supplied Protected Resource Metadata as the resource indicator without checking it matches the configured server URL. A malicious MCP server can declare another resource on the same authorization server, obtain the user's bearer token for it, and replay that token against the other resource.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.0, EPSS 0.1% (percentile 4).
Versioni da aggiornare
- diillson ChatCLI: vulnerabili le versioni dalla
v1.159.0precedenti allav1.215.2→ aggiornare allav1.215.2o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| diillson | ChatCLI | ≥ v1.159.0 < v1.215.2 | v1.215.2 |
Riferimenti
- Riferimentohttps://github.com/diillson/chatcli/blob/359eb27debc4de78289a9662551a51ab4528e16c/cli/mcp/oauth.go#L477-L493
- Riferimentohttps://github.com/diillson/chatcli/commit/951fe24b8e090eae86bf8edb13a788916b1e6c91
- Riferimentohttps://github.com/diillson/chatcli/releases/tag/v1.215.2
- Riferimentohttps://github.com/diillson/chatcli/security/advisories/GHSA-95vg-3r9c-2v5q
- Riferimentohttps://www.vulncheck.com/advisories/chatcli-before-1.215.2-origin-validation-error-via-unvalidated-mcp-oauth-resource-indicator