PT-2018-14636 · Cesanta · Mongoose

Published

2018-10-28

·

Updated

2018-12-07

·

CVE-2018-18764

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Cesanta Mongoose version 6.13
Description An arbitrary memory read issue exists in the MQTT packet-parsing functionality. It is a heap-based buffer over-read in a parse mqtt getu16 call. A specially crafted MQTT SUBSCRIBE packet can cause an 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 issue.
Recommendations For Cesanta Mongoose version 6.13, consider restricting access to the MQTT packet-parsing functionality until a patch is available. As a temporary workaround, avoid using the parse mqtt getu16 call in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-18764

Affected Products

Mongoose