GL.iNet’s Cloud Got Hacked, and Attackers Used It to Plant Malware on Routers and KVMs
If you own a GL.iNet travel router or one of its remote-access KVM boxes and you’ve ever switched on GoodCloud, today is a good day to check it. GL.iNet has confirmed that an attacker exploited a vulnerability in its GoodCloud cloud management service to install malware on some customer routers and KVM devices.
What GL.iNet says happened
In a security notice dated November 20 and updated November 23, GL.iNet says an “unauthorized party exploited the vulnerability to access and install malicious software on some GL.iNet routers and KVM devices.” The company says it has fixed the cloud-side flaw and blocked the access used, so devices can no longer be newly infected that way.
That fix doesn’t clean devices that were already hit. GL.iNet hasn’t said how the cloud service was breached, how many devices were infected or when the attacks began, according to The Hacker News and BleepingComputer. It is also still investigating whether computers plugged into infected KVMs were compromised, which is the scary part: a KVM can control the attached machine as if someone were at the keyboard.
What researchers found
BleepingComputer examined an installer script, ni.sh, that was tailored to GL.iNet hardware. It downloads extra programs, sets itself up to survive reboots, disguises its process as crond -i /tmp/.log and even swaps in a fake netstat that hides its own connections. The script carries Chinese-language developer comments. That hints at who wrote it, but it isn’t proof of attribution.
RemoteToHome Consulting, which manages a fleet of GL.iNet routers, reported root-level reverse shells. It also traced a handler in the GoodCloud client that runs cloud-supplied values as root without checking them. GL.iNet has not confirmed that this is the hole the attackers used, and no CVE had been assigned as of Monday.
The firm also found an older, apparently unrelated backdoor on dozens of its routers, installed between September 2025 and May 2026. The exact counts differ slightly between BleepingComputer’s and The Hacker News’ write-ups, and nothing so far links it to last week’s attack.
What to do
- Check before you reboot. Look for a running process containing
crond -i /tmp/.log(LuCI: Status → Processes, orps | grep tmpover SSH). Researchers say the reverse shell’s traces vanish on restart, and that the marker was absent on at least one confirmed-infected router, so a clean result isn’t a clean bill of health. - Install the security firmware for your exact model. Examples: 4.11.1 for the GL-MT3000/MT6000, 4.8.4 for the GL-AXT1800, 1.10.3 for most KVMs and 1.8.7 for the RMQ1. The full table is in GL.iNet’s notice.
- Consider turning GoodCloud off if you don’t need it, after making sure you have another way in.
Here’s where the vendor and the researchers disagree. GL.iNet says the update removes the identified malware and you can keep your settings. RemoteToHome advises that a device showing signs of compromise get a firmware reinstall without keeping settings, with every stored secret treated as exposed. That means Wi-Fi and admin passwords, VPN keys, SSH keys and cloud credentials. If yours shows any sign of infection, we’d take the cautious route.
Why it matters
Cloud management is convenient right up until the cloud becomes the attack path. One flaw on the vendor’s side reached into customers’ homes and offices, and with KVMs, potentially into the computers behind them. GL.iNet gear is popular with travelers and homelab folks precisely because it’s handy. Handy is great. Handy with root access from someone else’s server deserves a second look.
