Descrizione
Improper input validation vulnerability in Apache ActiveMQ, Apache ActiveMQ KahaDB. The ActiveMQ broker resolves connection, session and consumer state from ids that are user provided and in some scenarios does not validate that they ids are bound to that user. This allows an authenticated client to spoof another user's ids. This allows: * an authenticated client consumes from another connection's temporary queue/topic by putting the victim's connection id in its own ConsumerId, bypassing the broker-side ownership check. * a duplicate ConsumerId registration is only logged, after which the attacker's RemoveInfo or disconnect tears down the victim's live subscription * a forged MessageAck for the victim's ConsumerId permanently deletes an in-flight, unacknowledged message. This issue affects Apache ActiveMQ: from 6.0.0 before 6.3.3, before 5.19.12; Apache ActiveMQ KahaDB: from 6.0.0 before 6.3.3, before 5.19.12. Users are recommended to upgrade to version 6.4.0, 6.3.3, or 5.19.12, which fixes the issue.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5, EPSS 0.2% (percentile 14).
Versioni da aggiornare
- Apache Software Foundation Apache ActiveMQ: vulnerabili le versioni dalla
6.0.0precedenti alla6.3.3→ aggiornare alla6.3.3o successiva. - Apache Software Foundation Apache ActiveMQ: vulnerabili le versioni precedenti alla
5.19.12→ aggiornare alla5.19.12o successiva. - Apache Software Foundation ActiveMQ Broker: vulnerabili le versioni dalla
6.0.0precedenti alla6.3.3→ aggiornare alla6.3.3o successiva. - Apache Software Foundation ActiveMQ Broker: vulnerabili le versioni precedenti alla
5.19.12→ aggiornare alla5.19.12o successiva.
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 |
|---|---|---|---|
| Apache Software Foundation | Apache ActiveMQ | ≥ 6.0.0 < 6.3.3 | 6.3.3 |
| Apache Software Foundation | Apache ActiveMQ | < 5.19.12 | 5.19.12 |
| Apache Software Foundation | ActiveMQ Broker | ≥ 6.0.0 < 6.3.3 | 6.3.3 |
| Apache Software Foundation | ActiveMQ Broker | < 5.19.12 | 5.19.12 |