Security

GL.iNet’s Cloud Was Used to Plant Malware on Routers and KVMs: How to Check Yours

Leave a comment

If you own a GL.iNet travel router or KVM, check it today. GL.iNet says it found a vulnerability in its cloud remote management service on November 20, and an unauthorized party used it to install malicious software on some routers and KVM devices. The company says the cloud hole is fixed and the access is blocked, so devices can’t be newly infected that way, but that doesn’t clean devices already hit. Stable security firmware for routers and KVMs was scheduled for November 22.

The check: look for a running process showing crond -i /tmp/.log. On a router, use LuCI (System > Advanced Settings, then Status > Processes) or SSH in and run ps | grep tmp. On KVMs, use the web terminal (ps -aux | grep tmp, or ps -a | grep tmp on the RMQ1). If you find it, treat the device as infected: install the security firmware (KVM betas are out now) or factory reset. If an infected KVM was connected to a computer, check that computer too.

Researchers at RemoteToHome Consulting traced a likely cause to the GoodCloud client: an AstroWarp/SD-WAN handler that drops a cloud-supplied address straight into a root iptables command without validation, even when AstroWarp is off. GL.iNet hasn’t confirmed that’s what was used. A community tracker’s unverified reports found traces on about three in four routers on firmware 4.7 to 4.10, and notes a shell that’s gone after a reboot may not show up in a process check. Owners have also turned up a separate, older backdoor that GL.iNet’s check doesn’t detect.

My take

This is why I turn off vendor cloud management on network gear unless I truly need it. A cloud channel that can push root commands is a backdoor waiting for a bad day. Check, patch, and if GoodCloud is on and you don’t use it, turn it off.

God Bless, and Needs Garlic!

References & Further Reading

Subscribe (RSS) Follow Networking via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.