{"id":"CVE-2013-10058","published":"2025-08-01T20:44:51Z","modified":"2026-04-07T14:03:12Z","title":"Linksys Routers apply.cgi Remote Command Injection","vendor":"Linksys","product":"WRT160nv2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04247,"percentile":0.91275,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/24478","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/25608","tags":["exploit"]},{"url":"https://web.archive.org/web/20140830181242/http://www.s3cur1ty.de/m1adv2013-012","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/linksys-legacy-routers-remote-command-injection","tags":["third-party-advisory"]}],"priority":{"score":29.3,"factors":[{"name":"EPSS percentile","points":18.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"metasploit":[{"name":"Linksys WRT160nv2 apply.cgi Remote Command Injection","module":"exploit/linux/http/linksys_wrt160nv2_apply_exec","type":"exploit","disclosureDate":"2013-02-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb"}],"first":{"date":"2013-02-11","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/linksys_wrt160nv2_apply_exec.rb"},"provenance":"source"},"vendorSlug":"linksys","affectedVersions":[{"vendor":"Linksys","product":"WRT160nv2","versions":["2.0.03"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-06T14:06:01.817359Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Linksys WRT160Nv2 router, running firmware v2.0.03, contains an OS command injection flaw in the apply.cgi endpoint of its web interface, where the ping_size parameter used during diagnostic operations is not properly sanitised. An attacker with valid credentials, reachable over the network, can inject arbitrary shell commands through this parameter to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:06Z"},"euvd":{"id":"EUVD-2013-7268","exploited":false,"provenance":"source"},"exploitRefs":["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"]}