.
![]()
.
Yes, I am aware of this. That why I mentioned "by default" in the post above ![]()
Raspberry Pi connected to management VLAN on one side and LTE modem on other, with OpenSSH daemon? SSH accessible only from jump box VM running on Hetzner/AWS/Oracle (the last one has free ARM offerings)?
IKEv2 works and has been somewhat reliable in my opinion, hardware acceleration or not, but requires complex configuration, has device compatibility issues and MikroTik tends to mess around with config around it every year or so. WireGuard works too, has no custom implementation and largely has been without big issues so far, assuming you don't need to edit/toggle your peers.
Anything under ppp is unsafe in my opinion though, that includes: OpenVPN, PPP/PPPoE, PPTP, SSTP, L2TP, L2TP+IPSec (the last one is largely deprecated in lot of newer OSes).
Is it normal that such flaws exist in RouterOS? No. It's entirely on MikroTik here and the lack of username sanitization and proper state keeping in SSH daemon is entirely on them and only speaks of poor code and lack of internal audits.
Was the SSH issue the only one this time? No. We had, at minimum (listing only what was publicly revealed already):
- Service control bypass (
apiservice can be accessed independently via other services [for exampletelnet] by supplying\x06/loginas username) - Improper verification of RSA signatures (lack of exponent validation)
- TLS server impersonation (can forge subordinate root for trusted root with e=3 without knowing root's private key)
- Path traversal in
/jsproxyallowing unauthenticated user with access to WebFig to download any file from filesystem, including configuration files and it's secrets (WG peer certificates, IPSec secrets, any private keys that ROS has imported in it's store) as well as hasheduserpassword database. - Kernel memory leakage via UDP test in
btestwithrandom-data=false - Improper authentication in
btestservice allowing unauthenticated client to start UDP test.
The SSH one consists of two separate issues:
- Improper sanitization of data passed as arguments to
exec(same cause asapiservice control bypass) - Improper state handling following rekey in SSH daemon
That is a LOT of issues, and some of them are unforgivable. The RSA ones were not used in any exploit, but are particularly bad as they touch very core of cryptographic validity and the TLS server impersonation does not even need access to router - just MITM attack on known host that router connects to. It also puts in question everything else, including security of WinBox sessions, hashed passwords and even .npk files signatures - if they made such dumb mistake in RSA implementation, what other mistakes could they've made in more complex algorithms?
Let's not whitewash MikroTik of any responsibility here, there is no forgiveness nor have they shown any good will, now or before. How affected routers were compromised is one thing, MikroTik's code quality and security practices are entirely another.
Once you start installing VPN this is not default setup anymore ... and at least as far as @Larsa is saying, there has to be something done about default setup (which he believes is not secure enough).
Default includes MikroTik's BtH service (based on WireGuard) via QuickSet.
Whether that particular service uptime is good enough for home user is up in the air. I can't comment as I'm not using it, but at least looking at this forum it seems like there's a downtime every week.
Actually no need to use separate LTE modem, IMO it can be in DMZ of a MT router (DMZ in a sense that it's equally well defended both from WAN and ordinary LANs). MT router (until it's compromised) will defend the rPI to certain extent ... and rPI can run proper SSH server. And then, in turn, one can connect to router management from that same rPI.
Not enabled by default. And that's the whole point of default configuration: it's good enough to offer basic functionality (if WAN is straight IP over ethernet). Anything else ... it's device admin who enables/changes it and (s)he better knows what (s)he's doing. At that point, things are not under MT's control anymore.
I mean, if we're talking about what's available by default ... there's also some WiFi configuration, AFAIK not enabled (but I might be wrong), whole lot of protocols and services (not enabled by default).
I consider QuickSet to be at same level as any other basic change that applies to all other home routers. It's literally few pixels away from changing SSID.
For sake of default config argument, I'd consider any changes made by QuickSet to be still under that umbrella.
The default setup could be hardened by making management functions (and probably DNS resolver as well) available only from interfaces in group LAN. At least that does not open up access when user adds e.g. a VPN for completely different purposes than remote admin.
Hardware requirements: ARM/ARM64/TILE architecture devices
Most recent released devices fall in this architecture requirement but not all and what with past released devices ?
But wouldn't it be enough, for example, to ensure that
the management interfaces (and local services like NTP, DNS, SNMP, etc.) respond exclusively to internal private IP addresses?
By forcing this into the source code?
This way, even if someone accidentally, or intentionally, puts the service listening on the WAN, it is almost safe anyway...
This is a concrete suggestion.
There are ISPs who put CGNAT customers in the 10.0.0.0/8 range instead of 100.64.0.0/10. And many ISPs (mine included) allow CGNAT customers to talk directly to each other using their CGNAT addresses. In my ISP's case, a customer with a public IP address (non CGNAT) can even reach another customer of the same ISP with CGNAT address.
I was already expecting this objection, in fact, see the italics.
And in any case, a reputable ISP shouldn't allow direct communication between two CPEs with private IPs.
It's absurd and unprofessional.
To @Larsa point that everyone is ignoring is that there many devices sitting on retailer/distributor shelves with unpatched versions. And the idea the "LAN is always safe" is getting to worse assumption as time goes on. So @Larsa is right to challenge if the status quo given that some long-standing MikroTik practices are not aligned for a AI-enabled world.
For example, Given a basic use case for a Wi-Fi on internet with DHCP, RouterOS works fine without configuration. And while many on forum skew towards long-time users, a younger/newbie buyer of MikroTik might expect the device will update itself, as many things do in 2026... nor want to read 1M posts here to understand an OS and assume some web/app will help them with a good setup. So @Larsa's point is forcing some provisioning wizard/logic (or using netinstall) could check version and "unlock" the router WAN after RouterOS running a "safe" version. Now I'm more in fan of lighter weight auto-update=stable/etc that automatically updates routers, and it be disable-able default.
Now only time will tell if this incident is one-off, or if AI is just going to keep finding more bugs of this class in future. My own concern is with AI, using an exploit is now pretty trivial since an agent is easily write one to do whatever you want. So the "barrier-to-entry" to using an exploit is much lower these days is my worry. And the speed is increasing so waiting for emails and scheduling upgrades may be too slow as time marches on.
The worst problem is that RouterOS does not have, and apparently MikroTik does not want to make, an automatic update that is enabled by default. Sure you can find some video that shows you how to do it, but devices sold to naive home users (or distributed by ISPs to naive home users) never have this, so the devices will remain on the same version forever.
A sub-problem of that is that improvements in the default configuration never make it to existing devices, even when the user updates RouterOS. Even when the first action on a new device is to update RouterOS, the device will remain operating under the original default config that came with the manufacturer version, unless the user does a "reset configuration" immediately after the first upgrade.
I do distribute an instruction to our users that directs them to do exactly that (unpack device, connect, do an upgrade, then do a reset configuration) but I guess most users do not exactly follow that.
In my case that's quite useful, my parent's house is behind CGNAT (but with 100.64.0.0/10 address) having the same ISP as mine. I have a backup way to reach their network when IPv6 break (normally there is an IPv6 WG tunnel between our places) with IPv4. But of course, if using IP -> Cloud this checkbox must be enabled:
![]()
I don't think that's a security issue, because if my parents' house was not behind CGNAT, I would still be able to reach their public IP address anyway.
So, given the prior testinmg and quality control of updates, that would mean hundreds of thousands devices unbootable/not working at EACH RouterOS upgrade, it is progress ...
Exactly, in fact, as I always write,
the stupidest thing you can do on RouterOS is add one automatic update script...
In fact, anyone who updated to 7.23.4 would no longer be able to access the internet if their provider only offered IPV6 connectivity...
and there are many of them...
But just as there was that bug (and not something in particular, but something that concerns EVERY device...),
there could have been anything else,
which en masse prevented the device from returning online. (on this case, fix any remote attack
)
Maybe this can be configured depending how device mode is set.
Home=Automatic
Advanced=Manual
Woe unto him who leaves port 22 exposed to the interwebs, for a great darkness shall fall upon his network, and he shall be cast out to find another job.