Descrizione
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an out-of-bounds read vulnerability in bacnet-stack's WritePropertyMultiple service decoder allows unauthenticated remote attackers to read past allocated buffer boundaries by sending a truncated WPM request. The vulnerability stems from wpm_decode_object_property() calling the deprecated decode_tag_number_and_value() function, which performs no bounds checking on the input buffer. A crafted BACnet/IP packet with a truncated property payload causes the decoder to read 1-7 bytes past the end of the buffer, leading to crashes or information disclosure on embedded BACnet devices. This vulnerability is fixed in 1.4.3.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.1.
Versioni da aggiornare
- Bacnetstack Bacnet Stack: vulnerabili le versioni dalla
1.4.0precedenti alla1.4.3→ aggiornare alla1.4.3o successiva. - Bacnetstack Bacnet Stack: vulnerabile la versione
1.5.0 rc1→ installare l'ultima release supportata dal vendor. - Bacnetstack Bacnet Stack: vulnerabile la versione
1.5.0 rc2→ installare l'ultima release supportata dal vendor. - Bacnetstack Bacnet Stack: vulnerabile la versione
1.5.0 rc3→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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 |
|---|---|---|---|
| Bacnetstack | Bacnet Stack | ≥ 1.4.0 < 1.4.3 | 1.4.3 |
| Bacnetstack | Bacnet Stack | 1.5.0 rc1 | — |
| Bacnetstack | Bacnet Stack | 1.5.0 rc2 | — |
| Bacnetstack | Bacnet Stack | 1.5.0 rc3 | — |