Descrizione
A flaw was found in the keycloak-services component of Keycloak, which provides identity and access management services. The issue occurs when a realm administrator uses a wildcard domain (like *.example.com) to restrict which hosts can register or update clients. Due to improper validation, the system accepts any hostname that ends with the specified domain suffix, even if it is not a legitimate subdomain. An attacker who can control the reverse DNS of their connection can bypass these host-based restrictions, potentially allowing unauthorized client modifications.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.7.
Versioni da aggiornare
- Redhat Build Of Keycloak: versioni non specificate → verificare l'advisory del vendor.
Patch e advisory
- Advisory del vendor: access.redhat.com/security/cve/CVE-2026-18206
- Advisory del vendor: bugzilla.redhat.com/show_bug.cgi
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 |
|---|---|---|---|
| Redhat | Build Of Keycloak | — | — |
Riferimenti
- Advisory del vendorhttps://access.redhat.com/security/cve/CVE-2026-18206
- Advisory del vendorhttps://bugzilla.redhat.com/show_bug.cgi?id=2508292
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95761
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:95762