- Aug 22, 2013
- 973
- 5,237
- 1,869
Identified vulnerabilities
In the course of our research we identified six vulnerabilities in RouterOS; below we describe the three most important ones, and all of them can be found on a dedicated page.
CVE-2026-67276 - SSH authentication bypass (CVSS: 9.2)
RouterOS did not properly verify public keys used for SSH authentication - in particular, it did not compare the entire RSA public key assigned to a user. An attacker who knew the username and the public modulus of the user's key could craft a different key and log in via SSH without possessing the corresponding private key. The privileges obtained were equivalent to those of the targeted account.
CVE-2026-86060 - SSH session privilege manipulation via a crafted username (CVSS: 9.2)
RouterOS did not properly handle usernames beginning with a disallowed character in the SSH login mechanism. By using a crafted username, an attacker could elevate their privileges. The resulting session had full administrative privileges in the RouterOS system.
CVE-2026-67277 - memory disclosure and crash via bandwidth-test (CVSS: 8.8)
The bandwidth-test service allowed an unauthenticated connection to enter a state that should only be reachable after logging in. Combined with two separate flaws - disclosure of uninitialized data from the packet buffer and an integer underflow in size validation - this enabled kernel memory leakage or a remote DoS attack leading to a system restart.
Recommendations
We recommend updating RouterOS immediately to one of the versions containing the fixes: 7.25beta3, 7.24.2, 7.23.4, or 6.49.21. After updating, check the logs for the device compromise message and the value of the flagged marker in the output of the /system/device-mode/print command. Also verify the configuration for unknown users, scripts, and other unrecognized changes. The inspection and further steps should follow MikroTik's security bulletin and the Flagged documentation referenced therein. The absence of the marker does not rule out an earlier compromise.
If the patch cannot be installed immediately, do the following until the update is applied:
- Disable the exposed services or block access to them from all addresses outside trusted management networks. This applies in particular to SSH, WWW/WWW-SSL, and the bandwidth-test server;
- Do not initiate TLS connections from an unpatched device or use the built-in SSH clients (/system ssh and /system ssh-exec), especially when communication passes through untrusted networks or is directed at untrusted hosts.
What was actually fixed in the new update?
The affected versions are:
RouterOS 7.24 / 7.24.1 → fixed in 7.24.2RouterOS 7.0–7.23.3 → fixed in 7.23.4
RouterOS 6.x → fixed in 6.49.21
