PT-2018-14953 · Contiki · Contiki-Ng
Published
2018-11-21
·
Updated
2019-05-12
·
CVE-2018-19417
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Contiki-NG versions prior to 4.2
Description
A issue in the MQTT server allows for Remote Code Execution via a stack-smashing attack. The
parse publish vhdr() function uses memcpy to input data into a fixed-size buffer without a length check, potentially overwriting the function return address. This could provide access to all memory regions since the MQTT server is not separated from other servers and OS modules.Recommendations
For Contiki-NG versions prior to 4.2, update to version 4.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the MQTT server to minimize the risk of exploitation.
Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Contiki-Ng