Skip to main content

N300rh Firmware CVE-2026-3301

CRITICAL
Command Injection (CWE-77)
2026-02-27 cna@vuldb.com
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted HTTP request to /cgi-bin/cstecgi.cgi
  2. Exploit
    Inject OS command via webWlanIdx parameter
  3. Execution
    Execute arbitrary command with router privileges
  4. Impact
    Achieve complete system compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Totolik N300RH firmware 6.1c.1353_B20190305 with Web Management Interface enabled. No authentication required. Default configuration vulnerable to remote unauthenticated exploitation via /cgi-bin/cstecgi.cgi endpoint.

Impact

CVSS 9.8, EPSS 4.0%. TOTOLINK routers are frequently targeted by botnets and have a history of command injection vulnerabilities.

Exploit ScenarioDerived

Attacker accesses router web interface (often default credentials), injects commands through diagnostic configuration, gains persistent shell access, enrolls device in botnet.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 4.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

Command injection in TOTOLINK N300RH router firmware 6.1c.1353 via setDiagnosisCfg handler. EPSS 4.0% with PoC available — high exploitation probability for consumer routers.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:55 CVSS 9.8

Command injection in TOTOLINK router diagnostic function.

RemediationAI

Update firmware. Change default credentials. Disable WAN-side management access.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-77 in TOTOLINK N300RH setDiagnosisCfg handler. User input is passed to system commands without sanitization in the diagnostic configuration.

Know when N300rh Firmware gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Feb 27, 2026 - 15:36 vuln.today
Public exploit code
CVE Published
Feb 27, 2026 - 06:18 nvd
CRITICAL 9.8

DescriptionCVE.org

A security flaw has been discovered in Totolink N300RH 6.1c.1353_B20190305. Affected by this vulnerability is the function setWebWlanIdx of the file /cgi-bin/cstecgi.cgi of the component Web Management Interface. Performing a manipulation of the argument webWlanIdx results in os command injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability (CVSS 9.8) affects Totolik N300RH routers with publicly available exploits and no vendor patch. Organizations using this device model face immediate risk of unauthorized network access, data theft, and lateral movement into corporate infrastructure.

Business Impact: Severe
Compensating Controls

Implement network segmentation isolating affected devices; restrict administrative web interface access via firewall rules and IP whitelisting; disable remote management if operationally feasible; deploy WAF rules to block requests to /cgi-bin/cstecgi.cgi; monitor for exploitation attempts via IDS/IPS; consider device replacement pending vendor patch availability; disable unused wireless features until patch is available.

Threat Intelligence Overview

EPSS Score
4.0%
Top 12% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 4.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

73
Low Medium High Critical
KEV: 0
EPSS: +4
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:o:totolink:n300rh_firmware:6.1c.1349_b20181018:*:*:*:*:*:*:*
cpe:2.3:o:totolink:n300rh_firmware:6.1c.1353_b20190305:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy