Description
An OS command injection vulnerability exists in various models of E-Series Linksys routers via the /tmUnblock.cgi and /hndUnblock.cgi endpoints over HTTP on port 8080. The CGI scripts improperly process user-supplied input passed to the ttcp_ip parameter without sanitization, allowing unauthenticated attackers to inject shell commands. This vulnerability was reported to be exploited in the wild by the "TheMoon" worm in 2014 to deploy a MIPS ELF payload, enabling arbitrary code execution on the router. Additionally, this vulnerability may affect other Linksys products to include, but not limited to, WAG/WAP/WES/WET/WRT-series router models and Wireless-N access points and routers. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-06 UTC.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version before 1.0.06
Any version before 1.0.05
Any version before 1.0.06
Any version before 2.0.00
Any version
Any version
Any version
Any version before 1.0.06
Any version
Any version before 2.1.03
Any version before 1.0.04
Credits
Johannes Ullrich of SANS Internet Storm Center
References
isc.sans.edu/diary/17633
www.exploit-db.com/exploits/31683
vulncheck.com/advisories/linksys-routers-command-injection