GL.iNet cloud flaw let hackers plant malware on routers and KVMs

GL.iNet says the hole in its remote management service is closed, but already infected routers and KVM devices still need cleaning, and researchers say the official check may miss some.

SecurityPublished
What happened
An attacker exploited a vulnerability in GL.iNet's cloud remote management service to install malware on some of its routers and KVM devices.
What’s new
GL.iNet says the cloud flaw is fixed and stable security firmware was scheduled for 22 November, while researchers report reverse shells and custom malware.
Why it matters
Infected KVM devices may have exposed the computers they control, and closing the cloud hole does not remove malware already installed.

GL.iNet, which makes home and travel routers and remote KVM devices, said in a security advisory dated 20 November that an unauthorised party exploited a weakness in its cloud-based remote management services to reach some routers and KVM devices and install malicious software. The company says it has fixed the cloud vulnerability and blocked the access used, so devices cannot be newly infected that way, but it stresses that these steps do not clean devices that were already compromised.

According to BleepingComputer, GL.iNet has not said how its cloud platform was exploited, how many customers were hit, or whether data was taken. The advisory says the company is still investigating, including whether computers attached to affected KVM devices were compromised, and will email affected customers at the address tied to their cloud account.

What the malware does

BleepingComputer examined an installer script, ni.sh, and reports it targets numerous GL.iNet models, fetches executables named gl-helper and gb, survives reboots through startup scripts and scheduled tasks, and disguises itself as the process crond -i /tmp/.log, the indicator GL.iNet published. The outlet says the script also swaps the netstat utility for a version that hides connections to one attacker server, and contains Chinese-language developer comments. Researchers at RemoteToHome Consulting say that of 183 routers they own or manage, 152 showed suspicious activity, including 24 with root-level reverse shells; they caution their results may not reflect other customers and that an older backdoor they found may be unrelated. Some recovered files carry timestamps from December 2025, though BleepingComputer says it is unclear whether those infections are linked to the November attack.

Which firmware to install

GL.iNet's advisory said stable firmware with security fixes for routers and KVM devices was scheduled for 22 November, and recommends installing it even if no infection is found. The advisory listed KVM beta fixes starting at 1.10.2 beta for most models and 1.8.6 beta for the RMQ1. A later post on GL.iNet's forum, and BleepingComputer's report, point to 1.10.3 or later for the RM10, RM1, RM1V2, RM1PE and RM4PE, 1.10.3 beta or later for the RM10RC, and 1.8.7 or later for the RMQ1.

Limits of the official check

GL.iNet's advisory says that if the indicator process is absent and there is no other reason for suspicion, no reset or cleanup is needed. Forum members warn the check may miss devices carrying other backdoors or reverse shells, BleepingComputer reports. GL.iNet now links to a community-built scanner, whose developers say it cannot catch every infection and that malicious files in configuration directories can survive a normal upgrade. One forum user advised against keeping saved configuration when upgrading an infected device; a GL.iNet forum reply notes that doing so unbinds the device from the cloud account, so it must be rebound. BleepingComputer advises preserving evidence before resetting, avoiding restoring possibly infected configurations, rotating exposed credentials, and checking computers connected to compromised KVMs.