What’s Vulnerable › Vulnerabilities
CVE-2013-10058: Linksys Routers apply.cgi Remote Command Injection
- Severity: high (CVSS 8.6 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-01 · updated 2026-06-16
- Weakness: CWE-78
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
- Linksys WRT160nv2: 2.0.03
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb
- https://web.archive.org/web/20140830181242/http://www.s3cur1ty.de/m1adv2013-012
- https://www.exploit-db.com/exploits/24478
- https://www.exploit-db.com/exploits/25608
- https://www.vulncheck.com/advisories/linksys-legacy-routers-remote-command-injection
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb
- https://web.archive.org/web/20140830181242/http://www.s3cur1ty.de/m1adv2013-012
- https://www.exploit-db.com/exploits/24478
- https://www.exploit-db.com/exploits/25608
Get alerted when CVE-2013-10058 or the next vulnerability affects your stack