Descrizione
Atomic Server is an open source headless CMS and real-time database. Prior to 0.40.3, unauthenticated requests to /bookmark can supply a url that server/src/plugins/bookmark.rs passes through fetch_data to fetch_body. Endpoint dispatch in lib/src/db.rs invokes the handler before check_read, and lib/src/client/helpers.rs previously checked only that the URL began with HTTP, without restricting loopback, private, link-local, DNS-rebinding, or redirect targets. The handler reflects fetched content in returned resource fields, making this a full-response server-side request forgery that can expose internal services and plain-GET cloud metadata. The short request timeout limits slow targets, and metadata services requiring a separate token request are outside the demonstrated GET-only path. This issue is fixed in version 0.40.3.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.6, EPSS 0.3% (percentile 22).
Versioni da aggiornare
- ontola atomic-server: vulnerabile la versione
< 0.40.3→ installare l'ultima release supportata dal vendor.
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| ontola | atomic-server | < 0.40.3 | — |
Riferimenti
- Riferimentohttps://github.com/ontola/atomic-server/commit/006ff290f7ec976c8cbafdceb7b6899389abd5be
- Riferimentohttps://github.com/ontola/atomic-server/commit/2d4535fcd84761288027616505cc61abdf05bc50
- Riferimentohttps://github.com/ontola/atomic-server/commit/e7f551d385045708240ca56889d1334a39349735
- Riferimentohttps://github.com/ontola/atomic-server/releases/tag/v0.40.3
- Riferimentohttps://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4
- Riferimentohttps://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4