Descrizione
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.6, 1.5.2, and 1.6.1, bws_srv_start() in ports/linux/websocket-srv.c builds the libwebsockets server context with a CA certificate loaded but never sets LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT, so the hub accepts TLS connections from clients presenting no certificate at all. Any network-reachable host can join the BACnet/SC mesh without credentials. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1, EPSS 0.3% (percentile 26).
Versioni da aggiornare
- bacnet-stack bacnet-stack: vulnerabile la versione
< 1.4.6→ installare l'ultima release supportata dal vendor. - bacnet-stack bacnet-stack: vulnerabile la versione
>= 1.5.0, < 1.5.2→ installare l'ultima release supportata dal vendor. - bacnet-stack bacnet-stack: vulnerabile la versione
>= 1.6.0, < 1.6.1→ installare l'ultima release supportata dal vendor.
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 |
|---|---|---|---|
| bacnet-stack | bacnet-stack | < 1.4.6 | — |
| bacnet-stack | bacnet-stack | >= 1.5.0, < 1.5.2 | — |
| bacnet-stack | bacnet-stack | >= 1.6.0, < 1.6.1 | — |