{"id":59874,"date":"2025-08-04T14:51:42","date_gmt":"2025-08-04T14:51:42","guid":{"rendered":""},"modified":"2025-10-02T17:20:12","modified_gmt":"2025-10-02T23:20:12","slug":"cve-2024-42655-unintended-access-control-bypass-in-nanomq-v0-21-10","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-42655-unintended-access-control-bypass-in-nanomq-v0-21-10\/","title":{"rendered":"<strong>CVE-2024-42655: Unintended Access Control Bypass in NanoMQ v0.21.10<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>In the ever-evolving landscape of cybersecurity, a new vulnerability has been discovered that threatens the security of systems running NanoMQ v0.21.10. The vulnerability, tagged as CVE-2024-42655, allows attackers to bypass security restrictions and gain access to sensitive system topic messages. This vulnerability is of significant concern due to its potential to lead to system compromise or <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53495-unauthorized-access-data-leakage-in-wikimedia-foundation-mediawiki-abusefilter-extension\/\"  data-wpil-monitor-id=\"72506\">data leakage<\/a>. All businesses and institutions using <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-13974-high-risk-business-logic-vulnerability-in-up2date-component-of-sophos-firewall\/\"  data-wpil-monitor-id=\"73917\">NanoMQ<\/a> v0.21.10 are advised to take immediate action to mitigate the effects of this vulnerability.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-42655<br \/>\nSeverity: High (8.8 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50160-heap-based-buffer-overflow-in-windows-rras-posing-system-compromise-risk\/\"  data-wpil-monitor-id=\"78578\">System Compromise<\/a>, Data Leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-251878923\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>NanoMQ | v0.21.10<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit capitalizes on an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-36600-dell-bios-improper-access-control-vulnerability-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"70127\">access control<\/a> issue in NanoMQ v0.21.10. An attacker can use MQTT wildcard characters to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43273-sandbox-restriction-bypass-vulnerability-in-macos-sequoia\/\"  data-wpil-monitor-id=\"72953\">bypass security restrictions<\/a>. MQTT, or Message Queue Telemetry Transport, is a lightweight messaging protocol used by devices on the Internet of Things. The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-7549-critical-vulnerability-in-tenda-fh1201-allows-remote-stack-based-buffer-overflow\/\"  data-wpil-monitor-id=\"67713\">vulnerability allows<\/a> an attacker to access sensitive system topic messages which could potentially lead to system compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-22152812\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Below is a conceptual example of how this vulnerability might be exploited. This example is not a real exploit <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49526-out-of-bounds-write-vulnerability-in-illustrator-leading-to-arbitrary-code-execution\/\"  data-wpil-monitor-id=\"75296\">code but rather an illustrative<\/a> concept:<\/p>\n<pre><code class=\"\" data-line=\"\">CONNECT \/mqtt HTTP\/1.1\nHost: vulnerable-nanomq-server.com\nContent-Type: application\/json\n{ &quot;topic&quot;: &quot;#&quot;, &quot;qos&quot;: 0 }<\/code><\/pre>\n<p>In the above example, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-9408-server-side-request-forgery-attack-in-eclipse-glassfish\/\"  data-wpil-monitor-id=\"77335\">attacker is making a connection request<\/a> to the MQTT broker (NanoMQ server) and subscribing to the wildcard topic &#8216;#. This wildcard character <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53145-type-confusion-vulnerability-in-windows-message-queuing-allowing-remote-code-execution\/\"  data-wpil-monitor-id=\"78209\">allows the attacker to receive all messages<\/a>, including sensitive system topic messages that they would otherwise not have access to.<\/p>\n<p><strong>Recommendations and Mitigations<\/strong><\/p>\n<p>The vendor has <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-35115-critical-system-package-download-vulnerability-in-agiloft-release-28\/\"  data-wpil-monitor-id=\"85350\">released a patch to address this vulnerability<\/a>. It is strongly recommended to apply the patch for NanoMQ v0.21.10 as soon as possible. As a temporary mitigation measure, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) may be used to filter out malicious MQTT requests. However, this is only a temporary solution and does not substitute for the vendor&#8217;s patch.<br \/>\nIt is crucial to understand the severity of CVE-2024-42655 and take immediate action to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-36326-bypassing-amd-romarmor-protections-to-compromise-system-security\/\"  data-wpil-monitor-id=\"87838\">protect your system<\/a>. Cybersecurity isn&#8217;t just about protection; it&#8217;s about being proactive and staying one step ahead of potential threats.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview In the ever-evolving landscape of cybersecurity, a new vulnerability has been discovered that threatens the security of systems running NanoMQ v0.21.10. The vulnerability, tagged as CVE-2024-42655, allows attackers to bypass security restrictions and gain access to sensitive system topic messages. This vulnerability is of significant concern due to its potential to lead to system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-59874","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=59874"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59874\/revisions"}],"predecessor-version":[{"id":80652,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59874\/revisions\/80652"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=59874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=59874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=59874"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=59874"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=59874"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=59874"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=59874"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=59874"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=59874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}