Descrizione
crw-server before 0.45.1 contains a server-side request forgery vulnerability that allows unauthenticated attackers to reach internal services by supplying an unvalidated baseUrl to the /v1/scrape endpoint. Attackers can set llmApiKey and request the summary format, making the server POST to loopback or private addresses and use returned warnings as a reachability oracle.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.8, EPSS 0.3% (percentile 17).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare filtri sul traffico in uscita del server e bloccare l'accesso agli endpoint di metadati cloud (169.254.169.254).
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.
Riferimenti
- Riferimentohttps://github.com/fastcrw/crw/blob/v0.44.3/crates/crw-crawl/src/single.rs#L2009-L2025
- Riferimentohttps://github.com/fastcrw/crw/blob/v0.44.3/crates/crw-server/src/routes/scrape.rs#L56-L60
- Riferimentohttps://github.com/fastcrw/crw/commit/d81ca79b7ef5d558ef8b43221e3afa94c1a7b25e
- Riferimentohttps://github.com/fastcrw/crw/releases/tag/v0.45.1
- Riferimentohttps://github.com/fastcrw/crw/security/advisories/GHSA-48qx-jg8w-jw4p
- Riferimentohttps://www.vulncheck.com/advisories/crw-server-before-0.45.1-ssrf-via-byok-llm-baseurl-in-v1-scrape
- Riferimentohttps://github.com/fastcrw/crw/security/advisories/GHSA-48qx-jg8w-jw4p