Skip to content
Exploited RCE

GL.iNet GoodCloud flaw exploited to install malware on routers and KVM devices

Attackers used a flaw in GL.iNet's GoodCloud service to plant malware on routers and KVM devices; the cloud flaw is fixed but infected hardware needs new firmware.

Reported by The Hacker News

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

GL.iNet said attackers exploited a vulnerability in its GoodCloud remote management service to install malware on some customer routers and KVM devices.1

The company found and fixed the flaw on Friday and blocked the access route, though the cloud-side fix does not clean already infected devices.1

RemoteToHome Consulting verified a root-level reverse shell on a GL-AXT1800 router running firmware 4.8.3 with GoodCloud enabled, and two more owners reported the same shell.1

The researchers traced the shell to the GoodCloud client on the router, where a handler runs two values from a cloud message as root without validation; the vendor has not confirmed this.1

The unchecked code has been present in firmware since at least 5 December 2024, when it appeared in a GL-MT3000 release, and runs regardless of whether AstroWarp is used.1

Who is affected

  • GL.iNet routers and KVM devices (firmware table covers GL-MG1300, GL-MT3000, GL-MT6000, GL-E5800, GL-BE3600, GL-BE9300, , GL-AXT1800 on firmware 4.8.3 with GoodCloud enabled was verified infected; fixed versions range from 1.8.7 to 4.11.1 depending on model1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Install the security firmware listed for your model; the update removes the malware without a factory reset and keeps settings.1
  • Check for compromise before rebooting or upgrading, because the shell's traces disappear at restart.1
  • Look for a running process containing the text crond -i /tmp/.log via LuCI, SSH or the KVM terminal, noting the marker can miss infected devices.1
  • Before running netstat on a suspect device, confirm /bin/netstat is still a link to busybox, since a swapped copy starts the malware.1
  • For an infected KVM, inspect the attached computer for unfamiliar programs, accounts, startup items and unusual network activity.1

Indicators of compromise

As the sources state them. Domains and URLs are defanged ([.] and hxxp) so they are never a link; copy a block to search your logs.

IP addresses · 3
170.39.226.219
66.245.219.252
65.20.71.131
Domains · 1
gl-inet[.]top
What each indicator is
  • 170.39.226.219 reverse shell callback address1
  • 66.245.219.252 KVM download server1
  • 65.20.71.131 suspected command channel1
  • gl-inet[.]top copycat domain looked up by KVM1

For bug hunters

The flaw is a command injection class issue: a cloud client handler passes message values to a root shell without validation. Similar patterns appear in router and IoT management agents, remote-support clients and device cloud APIs that relay commands. Look for unvalidated input reaching shell execution, and for processes or callbacks that survive only until reboot.

What to test

  • Test cloud-to-device message fields for shell metacharacter injection into root-run handlers
  • Check whether management agents validate input before passing it to system commands
  • Look for short-lived processes or outbound callbacks that vanish after a device restart
  • Verify that diagnostic binaries such as netstat have not been replaced by wrappers

The RCE lesson Every RCE report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

Reports about RCE

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, RCE first.