Cesanta Mongoose 6.13 MQTT Packet Parsing Heap-Based Buffer Over-read Vulnerability

Cesanta Mongoose 6.13 MQTT Packet Parsing Heap-Based Buffer Over-read Vulnerability

CVE-2018-18765 · MEDIUM Severity

AV:N/AC:L/AU:N/C:P/I:N/A:P

An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in mg_mqtt_next_subscribe_topic. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.

Learn more about our Network Penetration Testing.