Descrizione
Authentication Bypass vulnerability exists in Netmaker versions prior to 1.5.0. The VerifyHostToken function in logic/jwts.go fails to validate the JWT signature when verifying host tokens. An attacker can forge a JWT signed with any arbitrary key and use it to impersonate any host in the network, gaining access to sensitive information
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2.
Versioni da aggiornare
- Netmaker Netmaker: vulnerabili le versioni precedenti alla
1.5.0→ aggiornare alla1.5.0o successiva.
Patch e advisory
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 |
|---|---|---|---|
| Netmaker | Netmaker | < 1.5.0 | 1.5.0 |
Riferimenti
- Patchhttps://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b
- Exploit pubblicohttps://www.zyenra.com/advisories/netmaker-jwt-verification-bypass
- Exploit pubblicohttps://www.zyenra.com/blog/netmaker-jwt-verification-bypass
- Exploit pubblicohttps://www.zyenra.com/advisories/netmaker-jwt-verification-bypass/
- Exploit pubblicohttps://www.zyenra.com/blog/netmaker-jwt-verification-bypass