Integer overflow in Mongoose



Published: 2020-02-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-19307
CWE-ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Mongoose
Web applications / JS libraries

Vendor Valenok

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Integer overflow

EUVDB-ID: #VU25688

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: CVE-2019-19307

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

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


Q & A

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.



###SIDEBAR###