N300rh Firmware
CVE-2026-3301
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request to /cgi-bin/cstecgi.cgi
-
ExploitInject OS command via webWlanIdx parameter
-
ExecutionExecute arbitrary command with router privileges
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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)
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in N300rh Firmware
View allCVE-2025-6400 is a critical buffer overflow vulnerability in TOTOLINK N300RH router firmware version 6.1c.1390_B20191101
OS command injection in Totolink N300RH firmware allows unauthenticated remote attackers to execute arbitrary commands t
Denial of service in TOTOLINK N300RH firmware 6.1c.1390_B20191101 via the /boafrm/formFilter endpoint allows an authenti
A vulnerability classified as critical was found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVSS 5.3
A vulnerability classified as critical has been found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVS
A vulnerability was found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVSS 5.3), this vulnerability i
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB