BreachSpiderVerified, not vibes

CVE-2013-10058 in Linksys products

No CVSS score published Public exploit reported

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 w...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS v48.6
EPSS20.4%
EPSS percentile98th
FixUnknown

Affected products and versions

VendorProductAffected versions
Linksys — —
Valid — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2013-10058
BreachSpider IDBS-2025-GLOBAL-093614-I
Published2025-08-01
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

An authenticated OS command injection vulnerability exists in various Linksys router models, specifically the WRT160Nv2 running firmware version v2.0.03. This vulnerability allows an attacker with valid credentials to inject arbitrary shell commands via the apply.cgi endpoint, leading to remote code execution. The web interface fails to properly sanitize user-supplied input passed to the ping_size parameter during diagnostic operations.

The vulnerability is triggered when an authenticated user sends a specially crafted request to the apply.cgi endpoint with a malicious payload in the ping_size parameter. The router's web interface does not properly sanitize this input, allowing the execution of arbitrary shell commands.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all user-supplied data in the web interface, particularly for the ping_size parameter. Enforce a whitelist of allowed characters and lengths.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2013-10058?

An authenticated OS command injection vulnerability exists in various Linksys router models, specifically the WRT160Nv2 running firmware version v2.0.03. This vulnerability allows an attacker with valid credentials to inject arbitrary shell commands via the apply.cgi endpoint, leading to remote code execution. The web interface fails to properly sanitize user-supplied input passed to the ping_size parameter during diagnostic operations.

Is CVE-2013-10058 actively exploited?

Public exploit available for CVE-2013-10058. Exploitation risk elevated.

How do I remediate CVE-2013-10058?

Priority: MEDIUM.

What systems are affected by CVE-2013-10058?

CVE-2013-10058 affects Linksys; Valid.

What NERC-CIP standard applies to CVE-2013-10058?

NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2, which requires the implementation of security controls to prevent unauthorized access to electronic access control or monitoring systems. The OS command injection allows an attacker to gain unauthorized access and execute commands.

What IEC 62443 requirement maps to CVE-2013-10058?

IEC 62443 SR 7.6: This vulnerability maps to SR 7.6, which requires the implementation of input validation and sanitization to prevent injection attacks. The failure to sanitize the ping_size parameter allows an attacker to inject and execute arbitrary commands.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Linksys","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.