Vulnerability identifier: #VU25688
Vulnerability risk: High
CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-190
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Mongoose
Web applications /
JS libraries
Vendor: Valenok
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in parse_mqtt() function in mongoose.c. A remote attacker can send a specially crafted MQTT protocol packet, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Mongoose: 6.8 - 6.16
External links
http://github.com/cesanta/mongoose/issues/1055
http://github.com/cesanta/mongoose/pull/1089/commits/470df6dca29d8c7319d587f10cde9d44ba61f42f
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.