CVE-2018-18765
published 2018-10-29CVE-2018-18765: An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer…
PriorityP347critical9.1CVSS 3.0
AVNACLPRNUINSUCHINAH
EPSS
1.84%
76.3th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cesanta | mongoose | — | — |
| debian | smplayer | < smplayer 18.5.0~ds1-1 (bookworm) | smplayer 18.5.0~ds1-1 (bookworm) |
| smplayer | smplayer | >= 0 < 18.5.0~ds1-1 | 18.5.0~ds1-1 |
| smplayer | smplayer | >= 0 < 18.5.0~ds1-1 | 18.5.0~ds1-1 |
| smplayer | smplayer | >= 0 < 18.5.0~ds1-1 | 18.5.0~ds1-1 |
| smplayer | smplayer | >= 0 < 18.5.0~ds1-1 | 18.5.0~ds1-1 |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
vendor_redhat·2018-10-26·CVSS 9.1
CVE-2018-18765 [CRITICAL] CWE-125 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
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.
Package: nodejs-mongoose (Red Hat Mobile Application Platform 4) - Out of support scope
Debian
CVE-2018-18765: smplayer - An exploitable arbitrary memory read vulnerability exists in the MQTT packet-par...
vendor_debian·2018·CVSS 9.1
CVE-2018-18765 [CRITICAL] CVE-2018-18765: smplayer - An exploitable arbitrary memory read vulnerability exists in the MQTT packet-par...
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.
Scope: local
bookworm: resolved (fixed in 18.5.0~ds1-1)
bullseye: resolved (fixed in 18.5.0~ds1-1)
forky: resolved (fixed in 18.5.0~ds1-1)
sid: resolved (fixed in 18.5.0~ds1-1)
trixie: resolved (fixed in 18.5.0~ds1-1)
GHSA
GHSA-w62j-xhgm-2ggr: An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6
ghsa_unreviewed·2022-05-14
CVE-2018-18765 [CRITICAL] CWE-125 GHSA-w62j-xhgm-2ggr: An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6
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.
OSV
CVE-2018-18765: An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6
osv·2018-10-29·CVSS 9.1
CVE-2018-18765 [CRITICAL] CVE-2018-18765: An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [fedora-all]
bugzilla·2018-11-05·CVSS 9.1
CVE-2018-18765 [CRITICAL] CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [fedora-all]
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
Bugzilla
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
bugzilla·2018-11-05·CVSS 9.1
CVE-2018-18765 [CRITICAL] CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic
A flaw was found in Cesanta Mongoose 6.13. An arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality. 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.
References:
https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20mg_mqtt_next_subscribe_topic%20heap%20buffer%20overflow.md
Discussion:
Created mongoose tracking bugs for this issue:
Affects: e
Bugzilla
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [epel-6]
bugzilla·2018-11-05·CVSS 9.1
CVE-2018-18765 [CRITICAL] CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [epel-6]
CVE-2018-18765 mongoose: heap-based buffer over-read in mg_mqtt_next_subscribe_topic [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template
https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20mg_mqtt_next_subscribe_topic%20heap%20buffer%20overflow.mdhttps://twitter.com/thracky/status/1059472674940993541https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20mg_mqtt_next_subscribe_topic%20heap%20buffer%20overflow.mdhttps://twitter.com/thracky/status/1059472674940993541
2018-10-29
Published