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_cli_connect() in ports/linux/websocket-cli.c loads the trusted CA cert into the libwebsockets context, then always sets LCCSCF_ALLOW_SELFSIGNED in the connection flags. So lws accepts any self-signed hub certificate, whether or not it chains to the loaded CA. A BACnet/SC node finishes the TLS handshake to a rogue hub that presents a self-signed cert. It then hands the attacker its identity (VMAC, UUID) and all later BACnet traffic. 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 7.7, EPSS 0.2% (percentile 10).
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 | — |