my router is currently safe.
Well, from publicly known vulnerabilities, maybe. I wouldn’t trust any SOHO (small office and home) router manufacturer (ASUS, TP-Link, Netgear, etc).
They have a history of poor security posture, and features/quirks that are likely backdoors. Lets look at ASUS’s recent handling of the vulnerabilities found by security researcher MrBruh.
Quick rundown of the exploit chain
-
The exploit chain requires the router to have been connection with the ASUS router app at least once, and once will do. Then, authentication of the router’s WebGUI management interface can be bypassed trivially by using an unregistered device_id in the authentication attempt. After that, authentication to the management interface is granted.
-
From there, remote code execution (RCE) on the router is done using code injection, arising from unsanitised output in the WebGUI.
Any process with LAN access can do this. So… not a big deal? Well, no. If a random app your mum installs is malicious/compromised, or your grandma accesses a website that asks for local network access and she grants it unwittingly, then you now have a malicious process running on your LAN.
Remarks
I’m nowhere close to a security expert, but authenticating a request because the ID is invalid and not sanitising fields are pretty much rookie security pitfalls, to my understanding.
Having production firmware on customers’ devices that have such basic security bugs indicates that they might not care much about customers’ security to implement basic audits/checks/QC before approving the firmware for distribution. Having one or two of these bugs over years of operating as a company may be understandable, since things inevitably slip through the cracks ocassionally, but consistently having such bugs is less excusable.
As well shall see, ASUS also shows a lackluster response when responding to verified security issues and tries to downplay it.
ASUS’ response
From MrBruh’s blog post
despite them [ASUS] providing Beta firmware 2 months into the 3 month disclosure period, they said they would not be able to publish the fix within the 90 day period.
As a result of this, they [ASUS] wanted an additional 30 day extension which I declined.
- I’m not sure how long it takes to fix the 20 or so lines of authentication code (as seen in MrBruh’s mockup) or edit a couple lines to add input sanitisation, but I don’t think it requires two months — even accounting for the time it takes to approve such code changes to go from devel to beta. Even if this were the usual amount of time to get code from devel to beta, surely it could have been sped up in light of the significant vulnerabilities?
- I’m not sure how long it takes to get beta firmware to production, but again, surely it could’ve been sped up to keep within the standard disclosure window by temporarily investing more funds into firmware development?
- Iirc Gamers Nexus speculated that ASUS wanted the extension to publically disclose the vulnerabilities only after their quarterly report, though that’s purely speculation.
In our email exchanges, ASUS did not want to give me a list of affected models and would rather give me the affected firmware versions.
With this information in hand I performed a binary search and found that every router from 2018 onwards is likely affected by this vulnerability.
- To an average end-user like myself, this seems self-centered and irresponsible on ASUS’ part to refuse to confirm affected models (to save their rep?)
The day after Gamers Nexus published their report on this ASUS vulnerability chain, ASUS put out a security advisory, but they still didn’t say what models are affected, which makes it harder for consumers to know to update.
My conclusion
So, I wouldn’t trust SOHO router brands because they don’t seem to care much about securing their products. Moreover, SOHO routers have suspicious features/quirks, like enabling SSH remotely by sending the router a magic packet via WAN, which may or may not be backdoors.
When it comes to real world impact, its not uncommon for routers to be integrated into botnets because of how vulnerable they are. And its not particularly private when random people on the internet can exploit a (possibly hidden) vulnerability to take over your router and gleam insights into your network usage. Not that they’ll manage to break HTTPS to steal your banking credentials, but still.
Its simple to check whether your router is OpenWRT compatible or not. If it is, you can consider finding the time to flash OpenWRT on it. Otherwise, you could pull out an old PC and run OPNsense on it after slapping a compatible 2 port NIC on it (just be careful of power draw — its impact on your electricity bill). You can then use your old router as a wireless access point that sits behind your OPNsense router/edge firewall.
You can further lock things down by
- Allow access to your OPNsense/OpenWRT management interfaces over only a specific management VLAN, and assign that management VLAN manually to certain ports only.
- Allow the WebGUI to only be connected to on localhost. LAN access to the WebGUI can then be achieved by using an SSH tunnel. This allows you to lockdown the management interface with SSH keypairs; the private key can be further locked down by the use of a FIDO2 hardware security key.