Description
An authenticated OS command injection vulnerability exists in various Linksys router models (tested on WRT160Nv2) running firmware version v2.0.03 via the apply.cgi endpoint. The web interface fails to properly sanitize user-supplied input passed to the ping_size parameter during diagnostic operations. An attacker with valid credentials can inject arbitrary shell commands, enabling remote code execution.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linksys WRT160nv2
Default version status: unknown
2.0.03affected
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb ↗
- https://www.exploit-db.com/exploits/24478 ↗
- https://www.exploit-db.com/exploits/25608 ↗
- https://web.archive.org/web/20140830181242/http://www.s3cur1ty.de/m1adv2013-012 ↗
- https://www.vulncheck.com/advisories/linksys-legacy-routers-remote-command-injection ↗