Remote denial of service in the MikroTik RouterOS web interface via a crafted HTTP request

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2023-30800?

CVE-2023-30800 is a vulnerability classified as Out-of-bounds Write, affecting RouterOS (affected versions: 6.49.9 and 6.48.8). This vulnerability is rated High, with a CVSS score of 7.5. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

The web server used by MikroTik RouterOS version 6 is affected by a heap memory corruption issue. A remote and unauthenticated attacker can corrupt the server's heap memory by sending a crafted HTTP request. As a result, the web interface crashes and is immediately restarted. The issue was fixed in RouterOS 6.49.10 stable. RouterOS version 7 is not affected.

Affected products and scope

MikroTik RouterOS on the older release branch, the one the vendor patched in a stable maintenance release, with the web server enabled and reachable. The current major release of RouterOS is explicitly out of scope: the record states it is not affected. Routers with the web interface disabled or firewalled off from untrusted networks do not present this attack surface to remote parties. Specific version strings for both the affected and fixed releases are listed alongside this entry.

Technical details

The weakness is an out-of-bounds write in the heap (CWE-787): the web server writes past the boundary of a memory buffer it allocated on the heap, overwriting adjacent memory structures. The trigger is a crafted HTTP request sent to the web server, and the record does not describe the request format, the specific handler at fault, or the exact memory layout involved, so the public technical detail stops at that level. No authentication is required and no user action is needed; reaching the HTTP endpoint is enough. The corruption leads to a crash of the web interface process, which the device then restarts.

Exploitability

The attack vector is the network: the attacker sends HTTP requests to the router's web server, so reachability depends entirely on whether that interface is exposed. No privileges and no user interaction are required, which makes it trivially repeatable once the endpoint is reachable. The record points to a public advisory carrying exploit information, so the technique is publicly documented. The record does not report confirmed exploitation in the wild.

Technical impact

An attacker gains the ability to crash and force a restart of the router's web interface, remotely and without credentials. According to the record, the outcome is limited to that: availability loss on the management interface. There is no stated path to reading memory, altering configuration, or executing code, and the record does not claim one.

Business impact

Anyone running the affected RouterOS branch with the web interface reachable from an untrusted network should care. The consequence described in the record is availability: an unauthenticated outsider can knock the management interface offline and force it to restart, and can repeat that as often as they like at low cost. Administrators lose the UI they use to change configuration, check status and respond to other incidents, which matters most exactly when something else is already going wrong. The record states no confidentiality or integrity impact, so there is no indication of configuration changes, credential theft or data exposure. The exposure is operational rather than a data breach, but unplanned restarts of a network device, and the possibility of the same request being sent continuously, are the sort of thing that turns into a service interruption if the router's management plane is needed during an outage.

Remediation

Apply the fixed stable release for the affected branch, which the record identifies as the resolution. If the update cannot be applied immediately, reduce reachability: block the router's management ports at the network edge so only trusted administrative networks can reach the web interface, and disable the web interface entirely on devices where it is not used. Treat internet-facing router management as the priority case.

Detection

Watch for unexpected restarts of the router's web interface, including gaps in the UI being reachable and repeated uptime resets of the management service. Forward router syslog to a central collector and alert on restarts or crashes of the web service. Monitor whether the web interface is exposed beyond trusted networks by reviewing firewall rules and external reachability of management ports. Where HTTP request logging for the management interface is available, look for bursts of malformed or unusual requests from a single source preceding a restart.

Sources (7)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.