CVE-2013-10058
Linksys Routers apply.cgi Remote Command Injection
- State
- Published
- Severity
- 8.6 High
- Published
- Aug 1, 2025
- Updated
- Apr 7, 2026
- Reserved
- Aug 1, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
WRT160nv2Linksys |
|
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rbexploit
- https://www.exploit-db.com/exploits/24478exploit
- https://www.exploit-db.com/exploits/25608exploit
- https://web.archive.org/web/20140830181242/http://www.s3cur1ty.de/m1adv2013-012technical-descriptionexploit
- https://www.vulncheck.com/advisories/linksys-legacy-routers-remote-command-injectionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.