Overview
This report discusses the critical security vulnerability, CVE-2024-54952, that affects the SMB service in MikroTik RouterOS 6.40.5. This vulnerability, if exploited, can lead to a Remote Denial of Service (DoS), causing the SMB service to become unavailable, potentially leading to system compromise or data leakage.
Vulnerability Summary
CVE ID: CVE-2024-54952
Severity: Critical (CVSS: 7.5)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Remote Denial of Service (DoS), potential system compromise, and data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
MikroTik RouterOS | 6.40.5
How the Exploit Works
An unauthenticated attacker can exploit this vulnerability by sending specially crafted packets to the SMB service in MikroTik RouterOS. These packets trigger a null pointer dereference, which leads to a memory corruption and subsequent DoS condition, making the SMB service unavailable.
Conceptual Example Code
The conceptual example below demonstrates how an attacker might craft a malicious packet to exploit this vulnerability:
POST /SMB/service HTTP/1.1
Host: target.mikrotik.com
Content-Type: application/x-smb
{ "malicious_packet": "NULL_POINTER_DEREFERENCE_TRIGGER" }
Upon receiving this packet, the SMB service would trigger a null pointer dereference, leading to memory corruption and a subsequent DoS condition.
Mitigation
To mitigate this vulnerability, users are advised to apply the patch provided by the vendor. As a temporary measure, users can also implement a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to monitor and filter incoming packets to the SMB service.
