
Hackers Exploited GL.iNet Cloud Flaw to Install Malware on Routers and KVM Devices
Hackers exploited a vulnerability in GL.iNet's GoodCloud remote management service to install malware on customer routers and KVM devices, with the company identifying and fixing the flaw on Friday.
GL.iNet, the maker of travel routers and remote-access KVM hardware, confirmed in a security notice that hackers exploited a vulnerability in its GoodCloud remote management service. The company identified and fixed the flaw on Friday, blocking the access the attacker used. However, the cloud-side fix does not remove malware from devices that were already infected, requiring owners to check their hardware and install the security firmware released today.
A KVM (Keyboard-Video-Mouse) is a small device used to control a computer remotely as if sitting in front of it. The company is still investigating whether computers attached to infected KVMs were compromised. GL.iNet has not disclosed how many devices were infected, when the attacks began, or how its cloud service was breached.
RemoteToHome Consulting, a security consultancy that examined the incident on routers it manages, verified a root-level reverse shell on one of its GL-AXT1800 routers. The shell started on Friday evening and connected to 170.39.226[.]219, with two more owners reporting the same shell on the same model and firmware (4.8.3) with GoodCloud enabled.
Technical Analysis
According to RemoteToHome's investigation, the shell arrived through the GoodCloud client software on the router itself. A handler in that client takes two values from a cloud message and runs them as root through the shell without proper validation. The unchecked code has been in the firmware since at least December 5, 2024, when it appeared in a GL-MT3000 release.
The shell leaves no files behind, and its traces vanish when the device restarts.
On GL-MT6000 routers, the same shell command ran but the connection never completed. The researchers also found that on other routers they manage, a one-off command searched for files linked to a KVM implant and reported the results to the same address. After the researchers filed an abuse report, the hosting provider suspended the server behind the address and preserved its data.
KVM Compromise
One KVM owner described an infected GL-RM1 device that downloaded a script and two programs from 66.245.219[.]252, looked up the copycat domain gl-inet[.]top, and scanned the local network. The device also kept connecting to 65.20.71[.]131, which the owner suspects was a command channel. GL.iNet advises checking computers attached to infected KVMs for unfamiliar programs, accounts, startup items, and unusual network activity.